You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by XMLBeans_Newbie <ea...@gmail.com> on 2006/07/26 12:16:28 UTC

Error running scomp

Hi,

I just started using xmlbeans. I get the following error  (see below) when
runnign scomp from the command prompt. Any ideas?

R

D:\>scomp CustomerAuthorizationRequest_1.xsd -javasource 1.5 -src d:\
Time to build schema type system: 0.781 seconds
Time to generate code: 0.15 seconds
java.io.IOException: CreateProcess: D:\javac
@D:\DOCUME~1\RUDI~1.DOK\LOCALS~1\Temp\javac9077 error=2
null
java.io.IOException: CreateProcess: D:\javac
@D:\DOCUME~1\RUDI~1.DOK\LOCALS~1\Temp\javac9077 error=2
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(Unknown Source)
        at java.lang.ProcessImpl.start(Unknown Source)
        at java.lang.ProcessBuilder.start(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(
CodeGenUtil.java:231)
        at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(
SchemaCompiler.java:1126)
        at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(
SchemaCompiler.java:368)
BUILD FAILED
D:\>scomp -d classes -src src -javasource 1.5CustomerAuthorizationRequest_1.xsd
Time to build schema type system: 0.782 seconds
Time to generate code: 0.12 seconds
java.io.IOException: CreateProcess: D:\javac
@D:\DOCUME~1\RUDI~1.DOK\LOCALS~1\Temp\javac46031 error=2
null
java.io.IOException: CreateProcess: D:\javac
@D:\DOCUME~1\RUDI~1.DOK\LOCALS~1\Temp\javac46031 error=2
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(Unknown Source)
        at java.lang.ProcessImpl.start(Unknown Source)
        at java.lang.ProcessBuilder.start(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(
CodeGenUtil.java:231)
        at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(
SchemaCompiler.java:1126)
        at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(
SchemaCompiler.java:368)
BUILD FAILED

RE: Error running scomp

Posted by Wing Yew Poon <wp...@bea.com>.
Please see the FAQ:
http://wiki.apache.org/xmlbeans/XmlBeansFaq#scompFindingJavac
- Wing Yew
 
________________________________

From: XMLBeans_Newbie [mailto:eai.developer@gmail.com] 
Sent: Wednesday, July 26, 2006 3:16 AM
To: user@xmlbeans.apache.org
Subject: Error running scomp


Hi,
 
I just started using xmlbeans. I get the following error  (see below)
when runnign scomp from the command prompt. Any ideas?
 
R
 
D:\>scomp CustomerAuthorizationRequest_1.xsd -javasource 1.5 -src d:\
Time to build schema type system: 0.781 seconds
Time to generate code: 0.15 seconds
java.io.IOException: CreateProcess: D:\javac
@D:\DOCUME~1\RUDI~1.DOK\LOCALS~1\Temp\javac9077 error=2 
null
java.io.IOException: CreateProcess: D:\javac
@D:\DOCUME~1\RUDI~1.DOK\LOCALS~1\Temp\javac9077 error=2
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(Unknown Source) 
        at java.lang.ProcessImpl.start(Unknown Source)
        at java.lang.ProcessBuilder.start(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source) 
        at
org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(CodeGenUtil.ja
va:231)
        at
org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(SchemaCompiler.java
:1126)
        at org.apache.xmlbeans.impl.tool.SchemaCompiler.main
(SchemaCompiler.java:368)
BUILD FAILED
D:\>scomp -d classes -src src -javasource 1.5
CustomerAuthorizationRequest_1.xsd
Time to build schema type system: 0.782 seconds
Time to generate code: 0.12 seconds
java.io.IOException: CreateProcess: D:\javac
@D:\DOCUME~1\RUDI~1.DOK\LOCALS~1\Temp\javac46031 error=2
null
java.io.IOException: CreateProcess: D:\javac
@D:\DOCUME~1\RUDI~1.DOK\LOCALS~1\Temp\javac46031 error=2
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(Unknown Source)
        at java.lang.ProcessImpl.start(Unknown Source)
        at java.lang.ProcessBuilder.start(Unknown Source) 
        at java.lang.Runtime.exec(Unknown Source)
        at java.lang.Runtime.exec(Unknown Source)
        at
org.apache.xmlbeans.impl.tool.CodeGenUtil.externalCompile(CodeGenUtil.ja
va:231)
        at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile
(SchemaCompiler.java:1126)
        at
org.apache.xmlbeans.impl.tool.SchemaCompiler.main(SchemaCompiler.java:36
8)
BUILD FAILED
_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.