- This topic has 5 replies, 2 voices, and was last updated 18 years, 6 months ago by Riyad Kalla.
-
AuthorPosts
-
thpMemberFreshly installed MyEclipse, I’m a newbee with that program, so I only want to follow the Struts Quickstart.
Creating a web project, adding struts (1.2) support, adding manually the needed struts jars, open struts-config.xml, adding a jsp with struts 1.2 to the xml, click on finish… Eclipse hang-up.
Killing jawaw.exe, restart MyEclipse, a new line in the “Problem” Tab: “Misssing library in project: antlr.jar”
But this library is both in the lib folder and in the project.if I disable the auto open of the file, a new icon shows up in the project tree. try to open the file fails because it does not exist in that moment. I have to save the xml first.
Then trying to open the newl created jsp files hang-up the IDE again.The same happens if I try to add an HTML file instead of a JSP.
And an unreproducible “goodie”: one time I saved the file as “loginsuccess.jsp” or similar, after that there are two additional fields called “user” and “password” in the generated source…..
Greetz
thp*** Date: Mon May 08 15:40:11 CEST 2006
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_06*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.1 GA
Build id: 20060309-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.2
Build id: M20060118-1600Eclipse Platform
Version: 3.1.2
Build id: M20060118-1600Eclipse RCP
Version: 3.1.2
Build id: M20060118-1600Eclipse Java Development Tools
Version: 3.1.2
Build id: M20060118-1600Eclipse Plug-in Development Environment
Version: 3.1.2
Build id: M20060118-1600Eclipse Project SDK
Version: 3.1.2
Build id: M20060118-1600Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files\eclipse\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
ec4_58
-vm
C:\WINDOWS\system32\javaw.exeNo error log at all, system hang-up without any furhter output
Riyad KallaMemberTry and restart using the -clean command line argument as outlined here:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10280.htmlThen try and adjust your memory settings as follows:
http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.htmlIf that doesn’t work, try and create a new workspace using File > Switch Workspace > C:\tempworkspace, then hit OK to restart. Now create a new Web Project and follow the Struts guide and see if it works.
thpMemberI added the -clean parameter to the commandline.
The memory parameters are the same as the ones set by the MyEclipse installer?
“C:\Program Files\eclipse\eclipse\eclipse.exe” -clean -vmargs -Duser.language=en -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M -Dosgi.splashLocation=”C:\Program Files\MyEclipse\eclipse\MyEclipseSplash.bmp”
No, nothing changed, still hang-up when trying to load the jsp.
Then switching to a newly created workspace.
Seems better, after enabling struts the struts jars were automatically mounted to the project.
But after I try to open the jsp Eclipse hung-up.Killing jvm, restarting, searching for the newly created MyJsp.jsp… hung- up.
Killing, restarting…. “Error, see log wha wha wha”
!SESSION 2006-05-09 09:57:49.758 ———————————————–
eclipse.buildId=M20060118-1600
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_DE
Framework arguments: -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M
Command-line arguments: -os win32 -ws win32 -arch x86 -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M -clean!ENTRY org.eclipse.core.runtime 2006-05-09 09:58:00.56
!MESSAGE Product org.eclipse.sdk.ide could not be found.!ENTRY org.eclipse.osgi 2006-05-09 09:58:00.66
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:204)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
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.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.eclipse_main(Main.java:948)
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 com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:29)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)Unable to start Eclipse anymore. 🙄
Nice!
thpMemberReinstall Eclipse, reinstall MyEclipse, open the workspace… works. I can open jsp files now.
But this isn’t the solution, isn’t it?
thpMemberOK, after looking a bit around, even a the stacktrace:
I’d installed (and uninstalled) Nitrox before, seems it wasn’t uninstalled completely:
@thp wrote:at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:29)
Maybe that’s the reason for all my probs.
Riyad KallaMemberAhh yes that could very well be the problem, we have seem conflicts between WTP/NitroX/Exadel before.
-
AuthorPosts