facebook

Struts Quickstart example – get Superclass does not exist er

πŸ’‘
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #228037 Reply

    bryantph
    Member

    Operating System and version: Windows XP Professional Version 2002 SP1.

    Eclipse version: Version: 3.0.1
    Build id: 200409161125

    Fresh Eclipse install (y/n): N – Eclipse was installed first, then MyEclipse added

    If not, was it upgraded to its current version using the update manager? No

    Other installed external plugins: Subversion

    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8

    MyEclipse version: 3.8.4

    Eclipse JDK version: j2sdk1.4.2_04

    Application Server JDK version: ???

    Are there any exceptions in the Eclipse log file? Yes – heaps – 12 pages worth – first one is reproduced at bottom of message

    – Message Body ——————————-
    β€’ What steps did you take that resulted in the issue?
    Worked through Struts Quickstart example – got to Figure 21 – in my system the Finish button is disabled.

    Then Click on the Forwards tab
    Click Add
    Setup Name
    Setup Path
    Click Add – now β€œWarning: Superclass does not exist.” appears (was not there before)

    Note Finish is still disabled – have to cancel out of it.

    Please note:
    β€’ β€œThis feature can be turned on/off under Window > Prefs > MyEclipse > J2EE Projects > Web Projects > Build Path, then make sure “Yes” is selected.” – Yes is selected.
    β€’ The struts.jar exists in WEB-INF/lib dir.
    β€’ Automatic build is disabled to improve performance – I initiated a rebuild after every step (no problems shown).

    I can email screen shots and the full error log if needed.

    first error message from this session:

    !ENTRY com.genuitec.eclipse.wdt.jsp.debug 1 1 Apr 14, 2005 12:07:46.844
    !MESSAGE
    14/04/2005 12:07:46 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.build(BuildManager.java:330)
    at org.eclipse.core.internal.resources.Project.build(Project.java:105)
    at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:169)
    at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:127)
    at org.eclipse.ui.actions.WorkspaceAction$2.run(WorkspaceAction.java:370)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
    Caused by: java.io.IOException: CreateProcess: javac.exe -classpath C:\apps\eclipse\startup.jar;C:\j2sdk1.4.2_04\jre\lib\rt.jar;C:\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_04\jre\lib\jsse.jar;C:\j2sdk1.4.2_04\jre\lib\jce.jar;C:\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\j2sdk1.4.2_04\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_04\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_04\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_04\jre\lib\ext\sunjce_provider.jar;C:\apps\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\activation.jar;C:\apps\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jar;C:\apps\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jsp.jar;C:\apps\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-j2ee.jar;C:\apps\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-jaxrpc.jar;C:\apps\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2e?
    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.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.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)
    … 39 more
    — Nested Exception —
    java.io.IOException: CreateProcess: javac.exe -classpath C:\apps\eclipse\startup.jar;C:\j2sdk1.4.2_04\jre\lib\rt.jar;C:\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_04\jre\lib\jsse.jar;C:\j2sdk1.4.2_04\jre\lib\jce.jar;C:\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\j2sdk1.4.2_04\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_04\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_04\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_04\jre\lib\ext\sunjce_provider.jar;C:\apps\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\activation.jar;C:\apps\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jar;C:\apps\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\javax.servlet.jsp.jar;C:\apps\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-j2ee.jar;C:\apps\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2eedt.core_3.8.4\data\libraryset\1.4\jboss-jaxrpc.jar;C:\apps\MyEclipse\eclipse\plugins\com.genuitec.eclipse.j2e?
    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.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.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.build(BuildManager.java:330)
    at org.eclipse.core.internal.resources.Project.build(Project.java:105)
    at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:169)
    at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:127)
    at org.eclipse.ui.actions.WorkspaceAction$2.run(WorkspaceAction.java:370)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    #228092

    Riyad Kalla
    Member

    The exception you posted is because your JDK’s bin directory is not in your System PATH, so MyEclipse cannot validate your JSP files for you, please be sure to add it.

    Also please send a screenshot of the problem AND a screenshot of your project tree to support@genuitec.com ATTN Riyad with a link to this thread so I know why I’m receiving those files. Thank you.

    #228240

    bryantph
    Member

    Thanks Riyad.
    Fixed the PATH, and also had to fix JDK name for Tomcat application server, and had to add jar files to Java Build Path – Libraries by hand.
    Cheers
    Phil

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Struts Quickstart example – get Superclass does not exist er

You must be logged in to post in the forum log in