- This topic has 10 replies, 4 voices, and was last updated 20 years, 5 months ago by Scott Anderson.
-
AuthorPosts
-
jason poleyMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
smelzerMemberi am using eclipse 3.0rc1 and myeclipse 3.8b1. i am trying to add struts support and get the following error:
Invalid Struts 1.0 config file : java.lang.ClassNotFoundException: org.easystruts.struts.config.EasyStrutsLogFactory
when trying to add struts capabilities to an existing app. i have a very short .log file with none of the exceptions of the other postings. i do, however, have a very recent integration build of draw2d and gef for other development.
!SESSION Jun 07, 2004 12:22:30.956 ———————————————
eclipse.buildId=I200405290105
java.version=1.4.1_02-er
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.pde.core 1 1 Jun 07, 2004 12:22:30.956
!MESSAGE Problems encountered while PDE was scanning the Target Platform
!SUBENTRY 1 org.eclipse.debug.ui 1 1 Jun 07, 2004 12:22:30.956
!MESSAGE This plug-in (located at “c:\eclipse\plugins\org.eclipse.debug.ui_3.0.0”) was ignored because another version of the same plug-in (located at “C:\Program Files\MyEclipse\eclipse\plugins\org.eclipse.debug.ui_3.7.101”) was picked
!SUBENTRY 1 org.eclipse.jdt.debug 1 1 Jun 07, 2004 12:22:30.956
!MESSAGE This plug-in (located at “c:\eclipse\plugins\org.eclipse.jdt.debug_3.0.0”) was ignored because another version of the same plug-in (located at “C:\Program Files\MyEclipse\eclipse\plugins\org.eclipse.jdt.debug_3.7.101”) was picked
!SUBENTRY 1 org.eclipse.draw2d 1 1 Jun 07, 2004 12:22:30.956
!MESSAGE This plug-in (located at “C:\Program Files\MyEclipse\eclipse\plugins\org.eclipse.draw2d_3.0.0”) was ignored because another version of the same plug-in (located at “c:\eclipse\plugins\org.eclipse.draw2d_3.0.0”) was picked
!SUBENTRY 1 org.eclipse.gef 1 1 Jun 07, 2004 12:22:30.956
!MESSAGE This plug-in (located at “C:\Program Files\MyEclipse\eclipse\plugins\org.eclipse.gef_3.0.0”) was ignored because another version of the same plug-in (located at “c:\eclipse\plugins\org.eclipse.gef_3.0.0”) was pickedi did install the 3.8b1 myeclipse over the existing 2.7 myeclipse install i had. i uninstalled 3.8b1, removed the Program Files/myeclipse directory, and tried again to no avail.
help would be greatly appreciated.
thanks,
steve
Riyad KallaMemberInvalid Struts 1.0 config file : java.lang.ClassNotFoundException: org.easystruts.struts.config.EasyStrutsLogFactory
Have you tried adding Struts 1.1 support? Or is this the exception you get when you try and add Struts 1.1 support?
Can you check your c:\eclipse\links folder for a link file for MyEclipse, and check that its contents is only 1 line, and that its pointing to your 3.8b1 install? (Don’t mind double backslashes).
smelzerMemberi get this error when i initially choose “Add Struts Capabilities” from the project context menu, and when i click the struts 1.1 radio button from the dialog box.
this is the only line in the com.genuitec.eclipse.MyEclipse.link file in the c:\eclipse\links directory:
path=C:\\Program Files\\MyEclipsesteve
Riyad KallaMemberSteve,
That looks correct. I actually was having this problem recently. There is a workaround in the forums that Michael provided, but this bug was fixed in the Beta 1 release of 2.8/3.8 if you don’t mind upgrading. If you ARE running one of these versions already, then check your shortcut that you launch Eclipse with, and make sure you don’t have any logger VM arguments already on your command line because the workaround that fixes this problem in previous releases actually breaks the fix that was put in place in the Beta 1 releases.
smelzerMemberi am running myeclipse 3.8b1. this is my shortcut line:
C:\eclipse\eclipse.exe -vm c:\bea81\jdk141_02\bin\javaw.exemy JAVA_HOME is pointing to a JDK1.3.1 install. i do not have rights on my box to change environment variables, so i had to change the VM in the shortcut. i have no idea if this could be part of the issue.
Riyad KallaMemberHmm.. I certainly don’t think it helps it, but it seems unlikely that it would cause it… I will check with others about this.
Scott AndersonParticipantCan you post the full stacktrace of the ClassNotFoundException?
smelzerMemberi get no error in the .log file. here is the error as it shows up in the dialog box for struts support:
Invalid Struts 1.1 config file : java.lang.ClassNotFoundException: org.easystruts.struts.config.EasyStrutsLogFactoryhere is the dialog box message i get when i choose Add Struts Capabilities from the context menu:
Invalid Struts 1.0 config file found.
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassNotFoundException:
org.easystruts.struts.config.EasyStrutsLogFactory :
java.lang.ClassNotFoundException:
org.easystruts.struts.config.EasyStrutsLogFactory
Scott AndersonParticipantAnother possibility might be the old 1.4.1 JDK from BEA that you’re running with. Can you either download and retry with the latest 1.4.1 or 1.4.2 JDK’s from Sun?
-
AuthorPosts