axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shameera Rathnayaka <shameerai...@gmail.com>
Subject Re: [jira] [Created] (AXIS2-5198) org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Date Sat, 26 Nov 2011 06:14:20 GMT
Hi Aditya,

seems your log4j.properties is not in classpath?

On Sat, Nov 26, 2011 at 8:24 AM, Aditya (Created) (JIRA) <jira@apache.org>wrote:

> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5198
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5198
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>            Reporter: Aditya
>             Fix For: 1.4
>
>
> 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
>
> --
> 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
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Shameera Rathnayaka
Undergraduate
Department of Computer Science and Engineering
University of Moratuwa.
Sri Lanka.

Blog : http://shameerarathnayaka.blogspot.com/

Mime
View raw message