Announcement Announcement Module
Collapse
No announcement yet.
Roo 1.2.3 Maven addon : Error during instantiation of the implementation object Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo 1.2.3 Maven addon : Error during instantiation of the implementation object

    I installed maven addon
    addon install bundle --bundleSymbolicName org.springframework.roo.addon.maven
    After this when starting roo from command line I am getting below error. Any help please


    ____ ____ ____
    / __ \/ __ \/ __ \
    / /_/ / / / / / / /
    / _, _/ /_/ / /_/ /
    /_/ |_|\____/\____/ 1.2.3.RELEASE [rev 7fd62b6]


    Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
    [org.springframework.roo.addon.maven [76]] [org.springframework.roo.addon.maven.
    MavenProjectMetadataProvider] Error during instantiation of the implementation o
    bject
    java.lang.NoSuchMethodError: org.springframework.roo.project.ProjectMetadata.ge t
    ProjectIdentifier()Ljava/lang/String;
    at org.springframework.roo.addon.maven.MavenProjectMe tadataProvider.<clinit>
    (MavenProjectMetadataProvider.java:64)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAc
    cessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConst
    ructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Construc tor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at org.apache.felix.scr.impl.manager.ImmediateCompone ntManager.createImpleme
    ntationObject(ImmediateComponentManager.java:183)
    at org.apache.felix.scr.impl.manager.ImmediateCompone ntManager.createCompone
    nt(ImmediateComponentManager.java:118)
    at org.apache.felix.scr.impl.manager.AbstractComponen tManager$Unsatisfied.ac
    tivate(AbstractComponentManager.java:997)
    at org.apache.felix.scr.impl.manager.AbstractComponen tManager.activateIntern
    al(AbstractComponentManager.java:333)
    at org.apache.felix.scr.impl.manager.AbstractComponen tManager.enable(Abstrac
    tComponentManager.java:157)
    at org.apache.felix.scr.impl.config.ConfiguredCompone ntHolder.enableComponen
    ts(ConfiguredComponentHolder.java:256)
    at org.apache.felix.scr.impl.BundleComponentActivator .loadDescriptor(BundleC
    omponentActivator.java:253)
    at org.apache.felix.scr.impl.BundleComponentActivator .initialize(BundleCompo
    nentActivator.java:147)
    at org.apache.felix.scr.impl.BundleComponentActivator .<init>(BundleComponent
    Activator.java:111)
    at org.apache.felix.scr.impl.Activator.loadComponents (Activator.java:285)
    at org.apache.felix.scr.impl.Activator.bundleChanged( Activator.java:203)
    at org.apache.felix.framework.util.EventDispatcher.in vokeBundleListenerCallb
    ack(EventDispatcher.java:807)
    at org.apache.felix.framework.util.EventDispatcher.fi reEventImmediately(Even
    tDispatcher.java:729)
    at org.apache.felix.framework.util.EventDispatcher.fi reBundleEvent(EventDisp
    atcher.java:610)
    at org.apache.felix.framework.Felix.fireBundleEvent(F elix.java:3879)
    at org.apache.felix.framework.Felix.startBundle(Felix .java:1850)
    at org.apache.felix.framework.Felix.setActiveStartLev el(Felix.java:1192)
    at org.apache.felix.framework.StartLevelImpl.run(Star tLevelImpl.java:266)
    at java.lang.Thread.run(Thread.java:619)
    [org.springframework.roo.addon.maven [76]] [org.springframework.roo.addon.maven.
    MavenProjectMetadataProvider] Component instance could not be created, activatio
    n failed
    [org.springframework.roo.addon.maven [76]] [org.springframework.roo.addon.maven.
    MavenPathResolver] Error during instantiation of the implementation object
    org.apache.felix.log.LogException: java.lang.NoClassDefFoundError: org/springfra
    mework/roo/project/AbstractPathResolver
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader. java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :616)
    at org.apache.felix.framework.ModuleImpl$ModuleClassL oader.findClass(ModuleI
    mpl.java:1947)
    at org.apache.felix.framework.ModuleImpl.findClassOrR esourceByDelegation(Mod
    uleImpl.java:752)
    at org.apache.felix.framework.ModuleImpl.access$400(M oduleImpl.java:72)
    at org.apache.felix.framework.ModuleImpl$ModuleClassL oader.loadClass(ModuleI
    mpl.java:1807)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 48)
    at org.apache.felix.framework.ModuleImpl.getClassByDe legation(ModuleImpl.jav
    a:670)
    at org.apache.felix.framework.Felix.loadBundleClass(F elix.java:1654)
    at org.apache.felix.framework.BundleImpl.loadClass(Bu ndleImpl.java:909)
    at org.apache.felix.scr.impl.manager.ImmediateCompone ntManager.createImpleme
    ntationObject(ImmediateComponentManager.java:17Dow nloaded 100% of favorites.json
    at org.apache.felix.scr.impl.manager.ImmediateCompone ntManager.createCompone
    nt(ImmediateComponentManager.java:118)
    at org.apache.felix.scr.impl.manager.AbstractComponen tManager$Unsatisfied.ac
    tivate(AbstractComponentManager.java:997)
    at org.apache.felix.scr.impl.manager.AbstractComponen tManager.activateIntern
    al(AbstractComponentManager.java:333)
    at org.apache.felix.scr.impl.manager.AbstractComponen tManager.enable(Abstrac
    tComponentManager.java:157)
    at org.apache.felix.scr.impl.config.ConfiguredCompone ntHolder.enableComponen
    ts(ConfiguredComponentHolder.java:256)
    at org.apache.felix.scr.impl.BundleComponentActivator .loadDescriptor(BundleC
    omponentActivator.java:253)
    at org.apache.felix.scr.impl.BundleComponentActivator .initialize(BundleCompo
    nentActivator.java:147)
    at org.apache.felix.scr.impl.BundleComponentActivator .<init>(BundleComponent
    Activator.java:111)
    at org.apache.felix.scr.impl.Activator.loadComponents (Activator.java:285)
    at org.apache.felix.scr.impl.Activator.bundleChanged( Activator.java:203)
    at org.apache.felix.framework.util.EventDispatcher.in vokeBundleListenerCallb
    ack(EventDispatcher.java:807)
    at org.apache.felix.framework.util.EventDispatcher.fi reEventImmediately(Even
    tDispatcher.java:729)
    at org.apache.felix.framework.util.EventDispatcher.fi reBundleEvent(EventDisp
    atcher.java:610)
    at org.apache.felix.framework.Felix.fireBundleEvent(F elix.java:3879)
    at org.apache.felix.framework.Felix.startBundle(Felix .java:1850)
    at org.apache.felix.framework.Felix.setActiveStartLev el(Felix.java:1192)
    at org.apache.felix.framework.StartLevelImpl.run(Star tLevelImpl.java:266)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: org.springframework.roo.project.Abs
    tractPathResolver not found by org.springframework.roo.project [56]
    at org.apache.felix.framework.ModuleImpl.findClassOrR esourceByDelegation(Mod
    uleImpl.java:812)
    at org.apache.felix.framework.ModuleImpl.access$400(M oduleImpl.java:72)
    at org.apache.felix.framework.ModuleImpl$ModuleClassL oader.loadClass(ModuleI
    mpl.java:1807)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 48)
    at org.apache.felix.framework.ModuleImpl.getClassByDe legation(ModuleImpl.jav
    a:670)
    at org.apache.felix.framework.resolver.WireImpl.getCl ass(WireImpl.java:102)
    at org.apache.felix.framework.ModuleImpl.searchImport s(ModuleImpl.java:1426)

    at org.apache.felix.framework.ModuleImpl.findClassOrR esourceByDelegation(Mod
    uleImpl.java:747)
    at org.apache.felix.framework.ModuleImpl.access$400(M oduleImpl.java:72)
    at org.apache.felix.framework.ModuleImpl$ModuleClassL oader.loadClass(ModuleI
    mpl.java:1807)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 48)
    ... 30 more
    [org.springframework.roo.addon.maven [76]] [org.springframework.roo.addon.maven.
    MavenPathResolver] Component instance could not be created, activation failed
Working...
X