2014-12-19 208 views
0
Caused by: java.lang.ArrayStoreException 
       at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:665) 
       at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:472) 
       at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:298) 
       at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:234) 
       at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:81) 
       at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:64) 
       at com.ibm.oti.reflect.AnnotationParser.parseAnnotations(AnnotationParser.java:63) 
       at java.lang.Class.getDeclaredAnnotations(Class.java:1869) 
       at java.lang.Class.getAnnotations(Class.java:1826) 
       at java.lang.Class.getAnnotation(Class.java:1806) 
       at java.lang.Class.isAnnotationPresent(Class.java:1900) 
       at com.sun.xml.ws.model.RuntimeModeler.getPortTypeName(RuntimeModeler.java:1397) 
       at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161) 
       at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467) 
       at org.jvnet.jax_ws_commons.spring.SpringService.getObject(SpringService.java:333) 
       at org.jvnet.jax_ws_commons.spring.SpringService.getObject(SpringService.java:45) 
       at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) 
      ... 76 more 

回答

0

我遇到過類似的問題;你是否使用任何常見的庫存從容器內部加載的東西?

例如我們的server.xml中看起來是這樣的:

<classloader commonLibraryRef="EclipseLinkLib" delegation="parentLast"/> 

我們得到了一個類似的異常,請參閱:Missing NamedQueries annotation in WAS Liberty enviroment 通過改變代表團parentFirst應用程序啓動就好了。

相關問題