[ https://issues.apache.org/jira/browse/GERONIMO-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Forrest Xia resolved GERONIMO-6226. ----------------------------------- Resolution: Invalid Sounds an app issue > NoClassDefFoundError when deploying DonateEAR.ear to G 3.0-beta-1 server > ------------------------------------------------------------------------ > > Key: GERONIMO-6226 > URL: https://issues.apache.org/jira/browse/GERONIMO-6226 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: application client, deployment > Affects Versions: 3.0-beta-1 > Reporter: Forrest Xia > > Recurring steps refer to GERONIMO-6225, just modify the EAR file to remove > the demos folder from the ear, and deploy it to G server, you will see an > exception on the admin console like this: > The application was not deployed. > Could not fully load class: Main > due to:donate.ejb.interfaces.DonateBeanRemote > in classLoader: > org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@45a145a1 > java.lang.NoClassDefFoundError: Could not fully load class: Main > due to:donate.ejb.interfaces.DonateBeanRemote > in classLoader: > org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@45a145a1 > at org.apache.xbean.finder.ClassFinder.(ClassFinder.java:136) > at > org.apache.geronimo.client.builder.AppClientModuleBuilder.createAppClientClassFinder(AppClientModuleBuilder.java:946) > at > org.apache.geronimo.client.builder.AppClientModuleBuilder.addGBeans(AppClientModuleBuilder.java:786) > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:763) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) > at java.lang.reflect.Method.invoke(Method.java:611) > at > org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883) > at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) > at > org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116) > at > org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) > at java.lang.Thread.run(Thread.java:736) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira