Exception in thread "main" java.lang.IllegalArgumentException
-------------------------------------------------------------
Key: XMLBEANS-305
URL: http://issues.apache.org/jira/browse/XMLBEANS-305
Project: XMLBeans
Issue Type: Bug
Affects Versions: Version 2.2
Environment: Linux Fedora Core 4, Java 1.4.2
Reporter: Igor Likhotkin
I was trying to follow the tutorial on the XMLBeans web page and ran into this
issue. I cannot figure out what the problem is. The windows machine seems to
have no problems whatsoever, but it does have a different version of Java JDK
(1.5.6 I think). I could not find this exact version on the Sun's web site and
I am not sure if it will help since XMLBeans is supposed to work with Java 1.4.
I set up all of my environment variables exactly as the tutorial asked me to.
I tried several things afterwards, but nothing helped: I am still getting the
error. Here are the details of the error:
//----------------------------------------------------------------------------------------------------------------------------------------------
[EMAIL PROTECTED] xmlbeans-2.2.0]# scomp -out tutorials/gettingstarted/lib
schemas/easypo.xsd
Exception in thread "main" java.lang.IllegalArgumentException
at java.net.URI.create(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at org.apache.xmlbeans.impl.schema.StscState.StscState() (Unknown Source)
at
org.apache.xmlbeans.impl.schema.StscState.StscState(org.apache.xmlbeans.impl.schema.StscState$1)
(Unknown Source)
at org.apache.xmlbeans.impl.schema.StscState$StscStack.push() (Unknown
Source)
at org.apache.xmlbeans.impl.schema.StscState.start() (Unknown Source)
at
org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(java.lang.String,
java.io.File[], java.io.File[], java.net.URL[], java.io.File[], java.io.File[],
org.apache.xmlbeans.ResourceLoader, boolean, boolean, boolean, boolean,
boolean, java.util.Set, java.io.File, java.util.Map, java.util.Collection,
java.io.File, org.xml.sax.EntityResolver, java.io.File[], java.lang.String)
(Unknown Source)
at
org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(org.apache.xmlbeans.impl.tool.SchemaCompiler$Parameters)
(Unknown Source)
at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(java.lang.String[])
(Unknown Source)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.net.URISyntaxException: doesn't match URI regular expression:
project://local/
at java.net.URI.parseURI(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.net.URI.URI(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.net.URI.create(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
...9 more
//----------------------------------------------------------------------------------------------------------------------------------------------
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]