You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by bgbraga <bg...@gmail.com> on 2008/11/26 17:32:32 UTC

TypeNotPresentExceptionProxy - 2.1.3

Geronimo 2.1.3
Error deploying WAR.

What's this?

---------------------------------------
java.lang.ArrayStoreException:
sun.reflect.annotation.TypeNotPresentExceptionProxy
org.apache.geronimo.common.DeploymentException:
java.lang.ArrayStoreException:
sun.reflect.annotation.TypeNotPresentExceptionProxy
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:275)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	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:619)
Caused by: java.lang.ArrayStoreException:
sun.reflect.annotation.TypeNotPresentExceptionProxy
	at
sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:653)
	at
sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:460)
	at
sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:286)
	at
sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
	at
sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
	at
sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
	at java.lang.Class.initAnnotationsIfNecessary(Class.java:3072)
	at java.lang.Class.getAnnotation(Class.java:3029)
	at java.lang.Class.isAnnotationPresent(Class.java:3042)
	at
org.apache.xbean.finder.ClassFinder.findAnnotatedClasses(ClassFinder.java:235)
	at
org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:158)
	at
org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverPOJOWebServices(AdvancedWARWebServiceFinder.java:73)
	at
org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverWebServices(AdvancedWARWebServiceFinder.java:45)
	at
org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:70)
	at
org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.discoverWebServices(JAXWSServiceBuilder.java:97)
	at
org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.findWebServices(JAXWSServiceBuilder.java:80)
	at
org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:364)
	at
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.initContext(TomcatModuleBuilder.java:330)
	at
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:159)
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
---------------------------------------
-- 
View this message in context: http://www.nabble.com/TypeNotPresentExceptionProxy---2.1.3-tp20704389s134p20704389.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Re: TypeNotPresentExceptionProxy - 2.1.3

Posted by Jarek Gawor <jg...@gmail.com>.
I've found this: http://davidtanzer.net/?q=node/80 so you might be
missing some jars. But you can try to bypass this problem by setting
the following property (before starting the server):

export JAVA_OPTS="-Dorg.apache.geronimo.jaxws.builder.useSimpleFinder=true"

Jarek

On Wed, Nov 26, 2008 at 11:32 AM, bgbraga <bg...@gmail.com> wrote:
>
> Geronimo 2.1.3
> Error deploying WAR.
>
> What's this?
>
> ---------------------------------------
> java.lang.ArrayStoreException:
> sun.reflect.annotation.TypeNotPresentExceptionProxy
> org.apache.geronimo.common.DeploymentException:
> java.lang.ArrayStoreException:
> sun.reflect.annotation.TypeNotPresentExceptionProxy
>        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:275)
>        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>        at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>        at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
>        at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>        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:619)
> Caused by: java.lang.ArrayStoreException:
> sun.reflect.annotation.TypeNotPresentExceptionProxy
>        at
> sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:653)
>        at
> sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:460)
>        at
> sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:286)
>        at
> sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
>        at
> sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
>        at
> sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
>        at java.lang.Class.initAnnotationsIfNecessary(Class.java:3072)
>        at java.lang.Class.getAnnotation(Class.java:3029)
>        at java.lang.Class.isAnnotationPresent(Class.java:3042)
>        at
> org.apache.xbean.finder.ClassFinder.findAnnotatedClasses(ClassFinder.java:235)
>        at
> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:158)
>        at
> org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverPOJOWebServices(AdvancedWARWebServiceFinder.java:73)
>        at
> org.apache.geronimo.jaxws.builder.AdvancedWARWebServiceFinder.discoverWebServices(AdvancedWARWebServiceFinder.java:45)
>        at
> org.apache.geronimo.jaxws.builder.WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:70)
>        at
> org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.discoverWebServices(JAXWSServiceBuilder.java:97)
>        at
> org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.findWebServices(JAXWSServiceBuilder.java:80)
>        at
> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:364)
>        at
> org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.initContext(TomcatModuleBuilder.java:330)
>        at
> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:159)
>        at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
>        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
> ---------------------------------------
> --
> View this message in context: http://www.nabble.com/TypeNotPresentExceptionProxy---2.1.3-tp20704389s134p20704389.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>