java - ClassNotFoundException: org.jboss.annotation.ejb.RemoteBindings in JBoss 5.1 -


i'm deploying application ejbs on jboss 5.1 (default configuration). don't use class org.jboss.annotation.ejb.remotebindings anywhere in code, dependency don't use it. have stack trace during deployment:

2013-04-18 14:16:16,500 error [org.jboss.kernel.plugins.dependency.abstractkernelcontroller] (main) error installing preinstall: name=jboss.j2ee:ear=some-app-ear.ear,jar=some-app-ear.ear,name=contentmanagerbean,service=ejb3 state=real java.lang.noclassdeffounderror: org/jboss/annotation/ejb/remotebindings     @ java.lang.class.getdeclaredconstructors0(native method)     @ java.lang.class.privategetdeclaredconstructors(class.java:2389)     @ java.lang.class.getdeclaredconstructors(class.java:1836)     @ org.jboss.reflect.plugins.introspection.introspectiontypeinfofactoryimpl.getdeclaredconstructors(introspectiontypeinfofactoryimpl.java:489)     @ org.jboss.reflect.plugins.introspection.introspectiontypeinfofactoryimpl.getconstructors(introspectiontypeinfofactoryimpl.java:146)     @ org.jboss.reflect.plugins.classinfoimpl.getdeclaredconstructors(classinfoimpl.java:424)     @ org.jboss.beans.info.plugins.abstractbeaninfofactory.getconstructors(abstractbeaninfofactory.java:206)     @ org.jboss.beans.info.plugins.abstractbeaninfofactory.getbeaninfo(abstractbeaninfofactory.java:151)     @ org.jboss.config.plugins.abstractconfiguration.getbeaninfo(abstractconfiguration.java:87)     @ org.jboss.kernel.plugins.config.abstractkernelconfig.getbeaninfo(abstractkernelconfig.java:80)     @ org.jboss.kernel.plugins.config.abstractkernelconfigurator.getbeaninfo(abstractkernelconfigurator.java:77)     @ org.jboss.kernel.plugins.config.abstractkernelconfigurator.getbeaninfo(abstractkernelconfigurator.java:96)     @ org.jboss.kernel.plugins.dependency.preinstallaction.installactioninternal(preinstallaction.java:90)     @ org.jboss.kernel.plugins.dependency.installsawareaction.installaction(installsawareaction.java:54)     @ org.jboss.kernel.plugins.dependency.installsawareaction.installaction(installsawareaction.java:42)     @ org.jboss.dependency.plugins.action.simplecontrollercontextaction.simpleinstallaction(simplecontrollercontextaction.java:62)     @ org.jboss.dependency.plugins.action.accesscontrollercontextaction.install(accesscontrollercontextaction.java:71)     @ org.jboss.dependency.plugins.abstractcontrollercontextactions.install(abstractcontrollercontextactions.java:51)     @ org.jboss.dependency.plugins.abstractcontrollercontext.install(abstractcontrollercontext.java:348)     @ org.jboss.dependency.plugins.abstractcontroller.install(abstractcontroller.java:1631)     @ org.jboss.dependency.plugins.abstractcontroller.incrementstate(abstractcontroller.java:934)     @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:1082)     @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:984)     @ org.jboss.dependency.plugins.abstractcontroller.install(abstractcontroller.java:774)     @ org.jboss.dependency.plugins.abstractcontroller.install(abstractcontroller.java:540)     @ org.jboss.deployers.vfs.deployer.kernel.beanmetadatadeployer.deploy(beanmetadatadeployer.java:121)     @ org.jboss.deployers.vfs.deployer.kernel.beanmetadatadeployer.deploy(beanmetadatadeployer.java:51)     @ org.jboss.deployers.spi.deployer.helpers.abstractsimplerealdeployer.internaldeploy(abstractsimplerealdeployer.java:62)     @ org.jboss.deployers.spi.deployer.helpers.abstractrealdeployer.deploy(abstractrealdeployer.java:50)     @ org.jboss.deployers.plugins.deployers.deployerwrapper.deploy(deployerwrapper.java:171)     @ org.jboss.deployers.plugins.deployers.deployersimpl.dodeploy(deployersimpl.java:1439)     @ org.jboss.deployers.plugins.deployers.deployersimpl.doinstallparentfirst(deployersimpl.java:1157)     @ org.jboss.deployers.plugins.deployers.deployersimpl.doinstallparentfirst(deployersimpl.java:1178)     @ org.jboss.deployers.plugins.deployers.deployersimpl.install(deployersimpl.java:1098)     @ org.jboss.dependency.plugins.abstractcontrollercontext.install(abstractcontrollercontext.java:348)     @ org.jboss.dependency.plugins.abstractcontroller.install(abstractcontroller.java:1631)     @ org.jboss.dependency.plugins.abstractcontroller.incrementstate(abstractcontroller.java:934)     @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:1082)     @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:984)     @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:822)     @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:553)     @ org.jboss.deployers.plugins.deployers.deployersimpl.process(deployersimpl.java:781)     @ org.jboss.deployers.plugins.main.maindeployerimpl.process(maindeployerimpl.java:702)     @ org.jboss.system.server.profileservice.repository.maindeployeradapter.process(maindeployeradapter.java:117)     @ org.jboss.system.server.profileservice.repository.profiledeployaction.install(profiledeployaction.java:70)     @ org.jboss.system.server.profileservice.repository.abstractprofileaction.install(abstractprofileaction.java:53)     @ org.jboss.system.server.profileservice.repository.abstractprofileservice.install(abstractprofileservice.java:361)     @ org.jboss.dependency.plugins.abstractcontrollercontext.install(abstractcontrollercontext.java:348)     @ org.jboss.dependency.plugins.abstractcontroller.install(abstractcontroller.java:1631)     @ org.jboss.dependency.plugins.abstractcontroller.incrementstate(abstractcontroller.java:934)     @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:1082)     @ org.jboss.dependency.plugins.abstractcontroller.resolvecontexts(abstractcontroller.java:984)     @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:822)     @ org.jboss.dependency.plugins.abstractcontroller.change(abstractcontroller.java:553)     @ org.jboss.system.server.profileservice.repository.abstractprofileservice.activateprofile(abstractprofileservice.java:306)     @ org.jboss.system.server.profileservice.profileservicebootstrap.start(profileservicebootstrap.java:271)     @ org.jboss.bootstrap.abstractserverimpl.start(abstractserverimpl.java:461)     @ org.jboss.main.boot(main.java:221)     @ org.jboss.main$1.run(main.java:556)     @ java.lang.thread.run(thread.java:662) caused by: java.lang.classnotfoundexception: org.jboss.annotation.ejb.remotebindings     @ java.net.urlclassloader$1.run(urlclassloader.java:202)     @ java.security.accesscontroller.doprivileged(native method)     @ java.net.urlclassloader.findclass(urlclassloader.java:190)     @ java.lang.classloader.loadclass(classloader.java:306)     @ sun.misc.launcher$appclassloader.loadclass(launcher.java:301)     @ java.lang.classloader.loadclass(classloader.java:247)     @ java.lang.class.forname0(native method)     @ java.lang.class.forname(class.java:247)     @ org.jboss.classloader.spi.base.baseclassloaderdomain.loadclass(baseclassloaderdomain.java:292)     @ org.jboss.classloader.spi.base.baseclassloaderdomain.loadclass(baseclassloaderdomain.java:1119)     @ org.jboss.classloader.spi.base.baseclassloader.loadclassfromdomain(baseclassloader.java:798)     @ org.jboss.classloader.spi.base.baseclassloader.loadclass(baseclassloader.java:441)     @ java.lang.classloader.loadclass(classloader.java:247)     ... 60 more 

of course can provide more details problem if needed, frankly speaking don't know more put here. know if jboss component use annotation?

something internal uses it. go this maven link, download binary/jar or use pom dependency , add jar application classpath.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -