2 Replies Latest reply on Sep 17, 2008 7:03 AM by aroeder

    java.lang.ClassFormatError: Illegal class name

    aroeder Newbie

      I'm getting these exceptions when I start my JBoss AS 4.2.3 with JBossWS-Metro:


      [com.sun.xml.bind.v2.runtime.reflect.opt.Injector]::publish(67) - Unable to inject de/firstdata/centera/jboss/RetrieveResponse$JaxbAccessorM_getAttributes_setAttributes_[Ljava_lang_String;
      java.lang.reflect.InvocationTargetException
      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)
      ......
      ......
      ......
      Caused by: java.lang.ClassFormatError: Illegal class name "de/firstdata/centera/jboss/RetrieveResponse$JaxbAccessorM_getAttributes_setAttributes_[Ljava_lang_String;" in class file de/firstdata/centera/jboss/RetrieveResponse$JaxbAccessorM_getAttributes_setAttributes_[Ljava_lang_String;
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:465)


      My class looks like that:

      package de.firstdata.centera.jboss;
      
      public class RetrieveResponse {
      
       public void setAttributes(String[] sAttributes) {
       m_sAttributes = sAttributes;
       }
      
       public String[] getAttributes() {
       return m_sAttributes;
       }
      
      }
      


      What do I miss here?