You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2005/04/19 20:28:58 UTC

[jira] Closed: (XMLBEANS-123) sfactor fails because it doesn't set classpath fully

     [ http://issues.apache.org/jira/browse/XMLBEANS-123?page=all ]
     
Jacob Danner closed XMLBEANS-123:
---------------------------------


Fixed, closing

> sfactor fails because it doesn't set classpath fully
> ----------------------------------------------------
>
>          Key: XMLBEANS-123
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-123
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 2 Beta 1
>  Environment: Windows XP
>     Reporter: Steve Traut
>     Priority: Minor
>      Fix For: Version 2, Version 2 Beta 1, Version 2 Beta 2

>
> 1. Install XMLBeans v2 beta
> 2. Try to run sfactor against a schema.
> 3. Note the following in the console:
> Using output directory 'out'
> Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
>         at java.lang.Class.getMethod0(Class.java:2611)
>         at java.lang.Class.getMethod(Class.java:1579)
>         at org.apache.xmlbeans.XmlBeans.buildMethod(XmlBeans.java:174)
>         at org.apache.xmlbeans.XmlBeans.buildNodeMethod(XmlBeans.java:195)
>         at org.apache.xmlbeans.XmlBeans.buildNodeToCursorMethod(XmlBeans.java:232)
>         at org.apache.xmlbeans.XmlBeans.<clinit>(XmlBeans.java:131)
>         at org.apache.xmlbeans.impl.xb.xsdschema.SchemaDocument$Factory.parse(SchemaDocument.java:764)
>         at org.apache.xmlbeans.impl.tool.FactorImports.main(FactorImports.java:145)
> 4. Open bin/sfactor or bin/sfactor.cmd and note that classpath is set to include only xbean.jar. Should probably also include jsr173_api.jar.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org