- This topic has 4 replies, 2 voices, and was last updated 20 years, 1 month ago by
watchmaker.
-
AuthorPosts
-
watchmakerMemberHi,
Validation doesn’t seem to be working for me. I’m getting the following error in the log file:
!ENTRY com.ibm.etools.validation 4 0 May 20, 2005 12:55:17.457
!MESSAGE
*** ERROR ***: Fri May 20 12:55:17 BST 2005 java.lang.NoClassDefFoundError: javax/management/ObjectNameIn answer to the standard questions:
What operating system and version are you running?
Windows XP professionalWhat Eclipse version and build id are you using? (Help > About Eclipse Platform)
Version: 3.0.2
Build id: 200503110845– Was Eclipse freshly installed for MyEclipse?
Yes– If not, was it upgraded to its current version using the update manager?
N/A– Are any other external plugins installed?
Yes – checkstyle– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
7What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
3.8.4What JDK version are you using to run Eclipse? (java -version)
1.4.2What JDK version are you using to launch your application server?
1.4.2What steps did you take that resulted in the issue?
See above – trying to run validator.What application server are you using?
JBoss 3.0.7 with JettyAre there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
!ENTRY com.ibm.etools.validation 4 0 May 20, 2005 12:55:17.457
!MESSAGE
*** ERROR ***: Fri May 20 12:55:17 BST 2005 java.lang.NoClassDefFoundError: javax/management/ObjectNameThanks for any replies!
May 23, 2005 at 8:52 am #230048
Riyad KallaMemberWhat are you trying to validate exactly? What kind of file?
May 23, 2005 at 10:57 am #230063
watchmakerMemberThe error message is occurring when I rebuild a project.
The full text of the error in the problems view for the project is:
Severity Description Resource In Folder Location Creation Time
1 Run-time exception java.lang.NoClassDefFoundError occurred during validation. The validator being run was JSP Validator and the message thrown was javax/management/ObjectName. … May 23, 2005 2:57:58 PMSo I would assume it’s a JSP file that it’s failing on.
However, when I attempt to validate a single JSP file I get the following message:
“Validation failed – the maximum number of errors has been exceeded”
I should also note that performance is very slow – something I’m trying to sort out but not sure if it’s related to this error.
Thanks
May 23, 2005 at 11:04 am #230064
Riyad KallaMemberI should also note that performance is very slow – something I’m trying to sort out but not sure if it’s related to this error.
Have you given MyEclipse sufficient memory? We suggest starting Eclipse using the command line arguments like so:
eclipse.exe -vmargs -Xms128m -Xmx256m
Severity Description Resource In Folder Location Creation Time
1 Run-time exception java.lang.NoClassDefFoundError occurred during validation. The validator being run was JSP Validator and the message thrown was javax/management/ObjectName. SlaManager2.0 May 23, 2005 2:57:58 PMHmm, check your log file for exceptions related to this: <workspace dir>\.metadata\.log
Also, where does ObjectName come from, which JAR? Is it in your Build Path?
May 23, 2005 at 11:20 am #230066
watchmakerMemberCommand line arguments:
“C:\Program Files\eclipse\eclipse.exe” -refresh -vmargs -Xms128M -Xmx512M
So I should have plenty of memory – however it seems to be the processor running at 100% for a few minutes when I do a build.
As reported in first post, I’m getting the following error in the log file:
!ENTRY com.ibm.etools.validation 4 0 May 23, 2005 14:57:57.962
!MESSAGE
*** ERROR ***: Mon May 23 14:57:57 BST 2005 java.lang.NoClassDefFoundError: javax/management/ObjectNameI’m also getting a number of other errors in the log file in this form:
!ENTRY org.eclipse.team.core 4 0 May 23, 2005 15:16:38.246
!MESSAGE Marker id: 856044 not found.
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Marker id: 856044 not found.
at org.eclipse.core.internal.resources.Marker.checkInfo(Marker.java:57)
at org.eclipse.core.internal.resources.Marker.getAttribute(Marker.java:98)
at org.eclipse.team.internal.ui.synchronize.SynchronizeModelProvider.calculateProblemMarker(SynchronizeModelProvider.java:458)
at org.eclipse.team.internal.ui.synchronize.SynchronizeModelProvider.propagateProblemMarkers(SynchronizeModelProvider.java:675)
at org.eclipse.team.internal.ui.synchronize.SynchronizeModelProvider.access$3(SynchronizeModelProvider.java:672)
at org.eclipse.team.internal.ui.synchronize.SynchronizeModelProvider$8.run(SynchronizeModelProvider.java:795)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
!SUBENTRY 1 org.eclipse.core.resources 4 376 May 23, 2005 15:16:39.277
!MESSAGE Marker id: 856044 not found.With different marker IDs.
The ObjectName class seems to be in java 1.5 but I am using 1.4 for everything – do I need to use 1.5 for some of the validation to work?
Thanks for your help.
-
AuthorPosts