Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: STS 3.0.0.M1 released

  1. #21
    Join Date
    Jul 2010
    Location
    Mexico City
    Posts
    4

    Default

    On Eclipse 4.2 and STS 3.0.0.M2, even with -clean is not working for me.

  2. #22
    Join Date
    Aug 2006
    Posts
    8

    Default

    I need to use -clean every time and I get an exception about IWeaverFactory (or something like that) not found though it still starts up.

    Here's the actual error
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.eclipse.equinox.weaving.aspectj.AspectJWeaving Activator.start(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl$1.run(BundleContextImpl.java:711)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.startActivator(BundleContextImpl.java:702 )
    at org.eclipse.osgi.framework.internal.core.BundleCon textImpl.start(BundleContextImpl.java:683)
    at org.eclipse.osgi.framework.internal.core.BundleHos t.startWorker(BundleHost.java:381)
    at org.eclipse.osgi.framework.internal.core.AbstractB undle.resume(AbstractBundle.java:390)
    at org.eclipse.osgi.framework.internal.core.Framework .resumeBundle(Framework.java:1177)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.resumeBundles(StartLevelManager.java:559)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.resumeBundles(StartLevelManager.java:544)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.incFWSL(StartLevelManager.java:457)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.doSetStartLevel(StartLevelManager.java:24 3)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.dispatchEvent(StartLevelManager.java:438)
    at org.eclipse.osgi.framework.internal.core.StartLeve lManager.dispatchEvent(StartLevelManager.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.d ispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$E ventThread.run(EventManager.java:340)
    Caused by: java.lang.NoClassDefFoundError: org/eclipse/equinox/service/weaving/IWeavingServiceFactory
    at org.eclipse.equinox.weaving.aspectj.AspectJWeaving Starter.start(Unknown Source)
    ... 20 more
    Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.service.weaving.IWeavingServic eFactory
    at org.eclipse.osgi.internal.loader.BundleLoader.find ClassInternal(BundleLoader.java:455)
    at org.eclipse.osgi.internal.loader.BundleLoader.find Class(BundleLoader.java:421)
    at org.eclipse.osgi.internal.loader.BundleLoader.find Class(BundleLoader.java:412)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClass Loader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 66)
    ... 21 more
    Last edited by peterox; Jul 8th, 2012 at 05:37 PM.

  3. #23
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,640

    Default

    Hey!

    Can you both try a fresh install of STS (maybe 3.0.0.M3, released today) to see if that works? Maybe something went wrong when updating STS... The errors sound like there is something that went wrong there...

    HTH,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  4. #24
    Join Date
    Aug 2006
    Posts
    8

    Default

    Quote Originally Posted by Martin Lippert View Post
    Hey!

    Can you both try a fresh install of STS (maybe 3.0.0.M3, released today) to see if that works? Maybe something went wrong when updating STS... The errors sound like there is something that went wrong there...

    HTH,
    -Martin
    I tried M3 and everything looks good.I did the following and captured the console output.

    As you can see the logs look fine with one exception. After the install of Redmine Mylyn connector the IWeavingServiceFactory class not found exception is thrown, though the exception is not thrown the next time I start STS.

    Great work guys.


    Clean start up - startup1.log

    Shut down and started up again. Then installed IvyDE from the marketplace - startup2.log

    Start up after previous install. Then installed Groovy-Eclipse from marketplace - startup3.log

    Start up after previous install. Then installed Redmine Mylyn connector from http://redmin-mylyncon.sourceforge.net/update-site/N/- startup4.log

    Start up after previous install - startup5.log

    Start up again after seeing IWeavingServiceFactory exception in previous start up - startup6.log
    Attached Files Attached Files

  5. #25
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,640

    Default

    I created a JIRA ticket for this:
    https://issuetracker.springsource.com/browse/STS-3153

    We need to check whether this is still a problem for STS 3.1.0 and for the upcoming STS 3.2.0 version.
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  6. #26
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    750

    Default

    I'm wondering if this has to do with installing equinox weaving in a separate directory from the osgi bundle. Currently, unless some extra steps are taken, org.eclipse.osgi and all of the framework adapters (of which equinox weaving is one) must be stored in the same directory or else the framework adapter will not be found.
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •