Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5198

org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.4
    • wsdl

    Description

      log4j:WARN No appenders could be found for logger (org.apache.axis2.i18n.ProjectResourceBundle).
      log4j:WARN Please initialize the log4j system properly.
      org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185)
      at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
      at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
      Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:93)
      at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140)
      ... 2 more
      Caused by: 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:324)
      at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:83)
      ... 3 more
      Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: error: Use of undefined namespace prefix: s
      at org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:192)
      ... 8 more
      Caused by: org.apache.xmlbeans.XmlException: error: Use of undefined namespace prefix: s
      at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3455)
      at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:706)
      at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:690)
      at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:677)
      at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:208)
      at org.apache.xmlbeans.XmlObject$Factory.parse(XmlObject.java:632)
      at org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:136)
      ... 8 more
      Exception in thread "main"
      Java Result: 1

      Attachments

        Activity

          People

            Unassigned Unassigned
            donsofdons Aditya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: