- This topic has 8 replies, 3 voices, and was last updated 19 years, 6 months ago by knightYknight.
-
AuthorPosts
-
dammcMemberWe had a web project that initially worked fine on one machine but when we copied the file structure to a new machine and imported the project files there was one incorrect error about an element type that was not declared (it was!). We where later able to reproduce the problem on the orginal machine to by replacing the project files with a copy.
The problem is annying. Hope you can fix it.
We have been using Eclipse 3.0.1 + MyEclipse 3.8.2 + JDK 1.4.2_05 + JBoss4.0.0 + -Xmx512M . The XML file in question + precise exception + an exception from the log that may be relevant is provided below.
1) <?xml version=”1.0″?>
<!DOCTYPE orion-web-app PUBLIC “-//Evermind//DTD Orion Web Application 2.3//EN” “http://www.orionserver.com/dtds/orion-web.dtd”>
<orion-web-app persistence-path=”./persistence/state.ser” jsp-cache-directory=”./persistence” temporary-directory=”./temp”
servlet-webdir=”/servlet/” log-compilation-errors=”true”>
<ejb-ref-mapping name=”ejb/IssueHandler” />
<ejb-ref-mapping name=”ejb/IssueSearch” />
<ejb-ref-mapping name=”ejb/ProjectHandler” />
<ejb-ref-mapping name=”ejb/SchedulerHandler” />
<ejb-ref-mapping name=”ejb/UserHandler” />
<ejb-ref-mapping name=”ejb/SystemConfiguration” />
<ejb-ref-mapping name=”ejb/IDGenerator” />
</orion-web-app>2) Error: “Bad error Element type “orion-web-app” must be declared.”
3) Info Oct 07, 2004 14:11:41.313
Oct 7, 2004 2:11:41 PM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?
SEVERE: Javac exception
Error running javac.exe compiler
at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:446)
at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:43)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.?(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.?(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.parse(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validateIfNeeded(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.internalValidate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.run(Unknown Source)
at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:270)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:299)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:212)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Caused by: java.io.IOException: CreateProcess: javac.exe -classpath “C:\eclipse\startup.jar;C:\Program Files\Java\j2re1.4.2_05\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_05\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_05\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_05\lib\jce.jar;C:\Program Files\Java\j2re1.4.2_05\lib\ext\dnsns.jar;C:\Program Files\Java\j2re1.4.2_05\lib\ext\ldapsec.jar;C:\Program Files\Java\j2re1.4.2_05\lib\ext\sunjce_provider.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\activation.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\javax.servlet.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\javax.servlet.jsp.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\jboss-j2ee.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\jboss-jaxrpc.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\dat?
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Unknown Source)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:831)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:436)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:450)
at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:443)
… 38 more
— Nested Exception —
java.io.IOException: CreateProcess: javac.exe -classpath “C:\eclipse\startup.jar;C:\Program Files\Java\j2re1.4.2_05\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_05\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_05\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_05\lib\jce.jar;C:\Program Files\Java\j2re1.4.2_05\lib\ext\dnsns.jar;C:\Program Files\Java\j2re1.4.2_05\lib\ext\ldapsec.jar;C:\Program Files\Java\j2re1.4.2_05\lib\ext\sunjce_provider.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\activation.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\javax.servlet.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\javax.servlet.jsp.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\jboss-j2ee.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\jboss-jaxrpc.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\dat?
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Unknown Source)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:831)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:436)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:450)
at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:443)
at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:43)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.?(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler.compile(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.?(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.jasper.driver.MyEclipseJspC.parse(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validateIfNeeded(Unknown Source)
at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.internalValidate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.run(Unknown Source)
at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:270)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:299)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:212)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Oct 7, 2004 2:11:41 PM com.genuitec.eclipse.wdt.jsp.jasper.compiler.Compiler ?
SEVERE: Env: Compile: javaFileName=/C:/DOCUME~1/mmc/LOCALS~1/Temp/myeclipse-jspcc//org/apache/jsp/admin\list_005fusers_jsp.java
classpath=C:\Program Files\Java\j2re1.4.2_05\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_05\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_05\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_05\lib\jce.jar;C:\Program Files\Java\j2re1.4.2_05\lib\ext\dnsns.jar;C:\Program Files\Java\j2re1.4.2_05\lib\ext\ldapsec.jar;C:\Program Files\Java\j2re1.4.2_05\lib\ext\sunjce_provider.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\activation.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\javax.servlet.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\javax.servlet.jsp.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\jboss-j2ee.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\jboss-jaxrpc.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\jboss-jsr77.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\jboss-saaj.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\mail.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\namespace.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\xml-apis.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\oro-2.0.7.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\struts.jar;C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\wsdl4j.jar;C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\axis.jar;C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\axis-ant.jar;C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\commons-discovery.jar;C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\jaxrpc.jar;C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\log4j-1.2.8.jar;C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\saaj.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\bsh-1.3.0.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\commons-beanutils.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\commons-collections.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\commons-digester.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\commons-fileupload.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\commons-logging.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\commons-validator.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\itext-1.01.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\jasperreports-0.5.2.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\jcommon-0.9.3.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\jfreechart-0.9.18.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\jfreereport-0.8.4_4-all.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\poi-2.0-final-20040126.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\struts.jar;C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\classes;C:\itracker_src_eclipse\itrackerejb\classes;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.2\lib\jasper-runtime.jar;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.2\lib\jsp-api.jar
cp=C:\eclipse\startup.jar
cp=C:\Program Files\Java\j2re1.4.2_05\lib\rt.jar
cp=C:\Program Files\Java\j2re1.4.2_05\lib\sunrsasign.jar
cp=C:\Program Files\Java\j2re1.4.2_05\lib\jsse.jar
cp=C:\Program Files\Java\j2re1.4.2_05\lib\jce.jar
cp=C:\Program Files\Java\j2re1.4.2_05\lib\ext\dnsns.jar
cp=C:\Program Files\Java\j2re1.4.2_05\lib\ext\ldapsec.jar
cp=C:\Program Files\Java\j2re1.4.2_05\lib\ext\sunjce_provider.jar
cp=C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\activation.jar
cp=C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\javax.servlet.jar
cp=C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\javax.servlet.jsp.jar
cp=C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\jboss-j2ee.jar
cp=C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\jboss-jaxrpc.jar
cp=C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\jboss-jsr77.jar
cp=C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\jboss-saaj.jar
cp=C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\mail.jar
cp=C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\namespace.jar
cp=C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\data\libraryset\1.4\xml-apis.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\oro-2.0.7.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\struts.jar
cp=C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\wsdl4j.jar
cp=C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\axis.jar
cp=C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\axis-ant.jar
cp=C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\commons-discovery.jar
cp=C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\jaxrpc.jar
cp=C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\log4j-1.2.8.jar
cp=C:\itracker_src_eclipse\itrackerejb\lib\wsapi\axis\lib\saaj.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\bsh-1.3.0.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\commons-beanutils.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\commons-collections.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\commons-digester.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\commons-fileupload.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\commons-logging.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\commons-validator.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\itext-1.01.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\jasperreports-0.5.2.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\jcommon-0.9.3.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\jfreechart-0.9.18.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\jfreereport-0.8.4_4-all.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\poi-2.0-final-20040126.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\lib\struts.jar
cp=C:\itracker_src_eclipse\itrackerweb\web\WEB-INF\classes
cp=C:\itracker_src_eclipse\itrackerejb\classes
cp=C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.2\lib\jasper-runtime.jar
cp=C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.wdt.jsp.debug_3.8.2\lib\jsp-api.jar
work dir=C:\DOCUME~1\mmc\LOCALS~1\Temp\myeclipse-jspcc
extension dir=C:\Program Files\Java\j2re1.4.2_05\lib\ext
srcDir=C:\DOCUME~1\mmc\LOCALS~1\Temp\myeclipse-jspcc
compiler=extJavac
include=org/apache/jsp/admin/list_005fusers_jsp.java
Riyad KallaMemberLets first deal with the javac.exe problem, that executable (part of your JDK) needs to be in your system PATH for JSP Validation to work. Please add it to your system path and reload MyEclipse, then lets move from there.
dammcMemberThanks for the path tip. It helped with the javac-related exception but the incorrect problem-description is still there on the XML file.
Riyad KallaMemberI think there is something wrong with that DTD, i ran it thought a validator and this si what I got:
Errors: line 83, http://www.orionserver.com/dtds/orion-web.dtd: error (680): ambiguous content model; symbol(s): context-param-mapping, env... Warnings: line 102, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: false line 102, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: false line 102, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: true line 102, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: false line 102, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: true line 102, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: true line 102, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: false line 102, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: true line 102, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: false line 102, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: true line 122, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: true line 122, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: false line 122, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: true line 122, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: false line 791, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: allow line 791, http://www.orionserver.com/dtds/orion-web.dtd: warning (1210): value appears in multiple enumerations for attributes of one element; attribute: deny
Can you see if any other Orion users have this issue?
knightYknightMemberI am seeing the same type of problem you are with ANT. I notice that your classpath is truncated on the command line:
Caused by: java.io.IOException: CreateProcess: javac.exe -classpath “C:\eclipse\startup.jar;C:\Program Files\Java\j2re1.4.2_05\lib\rt.jar; …[LONG PATH] …;C:\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.2\dat?
I bet that ? character marks the 1010th character of the command. Here is a portion of my ANT output:
BUILD FAILED
C:\RetailDirect\build.xml:103: java.io.IOException: CreateProcess: C:\j2sdk1.4.1
_02\jre\bin\java.exe -classpath C:\j2sdk1.4.1_02\jre\lib\ext\dnsns.jar;…[LONG PATH]…;C:\j2sdk1.4.1_02\jre?I think the javac classpath (or any command-line in general) may be limited to about 1K. I don’t have a resolution for this. any thoughts?
Riyad KallaMemberOn windows this is a known problem, even in the NetBeans crowd, that’s why I always encourage people to install things to short paths… Tomcat is notorious for installing to a stupidly long path, so when it launches and enumerates EACH JAR fully for the classpath, you run out of environment space very quickly.
I don’t have a workaround on Windows, although I know in the past you could increase environment space for the shell, I just don’t know what the command was.
knightYknightMemberI know the command for that … in DOS 6.x! 🙂
I think it is a bit dated for XP though — meaning I doubt it would work.
In DOS you could specify the command shell (in config.sys) with an increased environment space like this:shell=C:\windows\command.com /e:####
where the #s represent the amount of memory to use for the local environment.
I don’t think CMD.EXE has a similar notion.
Riyad KallaMemberAhh yep that’s it!
Anybody want to try this? 😛
knightYknightMemberactually, I just did …
In XP you can do this:C:\>command.com /e:32768
so I did that and then ran the ANT script again from that shell, but the result was the same. Perhaps this is a limit of java.exe ?
-
AuthorPosts