- This topic has 4 replies, 4 voices, and was last updated 21 years, 4 months ago by
Riyad Kalla.
-
AuthorPosts
-
prabhiMemberHi,
I am new to MyEclipse and running into a problem while setting up my very first j2ee project. I created a J2EE project and then added a ‘ standard EJB’ doclet using MyProject->Properties->MyEclipse-XDoclet. When I try to configure a doclet and save it, I get an exception “Failed to save configuration; Java.lang.reflect.InvocationTargetException” . The xdoclet-build.xml is not generated as a result. I am blocked at this point.
Also not sure where to look for MyEclipse logs/traces to debug further. Please help.
Here is the background.
1) running Win 2000, jdk1.3.1
2) running eclipse 2.1.2 and MyEclipse latest version.
3) I also have a trial version of IBM studio installed on the same box.Any help resolving the matter will be appreciated.
Thanks,
Prabhakar
Scott AndersonParticipantPrabhakar,
We’ve diagnosed this one before. Please see this thread and the ones it references for more information.
https://www.genuitec.com/forums/topic/xdoclet-failed-to-save-configuration/&highlight=xdoclet+xml
–Scott
MyEclipse Support
prabhiMemberScott,
Thanks a lot!. I switched to jdk1.4.2 and it seems to have fixed it.
Prabhakar
stejankarMemberI installed MyEclipse 2.7RC1 on Eclipse 2.1.
JRE installed on my machine is 1.3.1_02.
Additionally I installed jdk1.4.2 in a separate folder and I changed my Eclipse JRE to 1.4.2. But still I am getting the same exception.Thanks in advance,
Sanjay
Riyad KallaMemberSanjay,
You need to make sure that the JDK running Eclipse is 1.4.2. You can check this by clicking Help->About->Configuration Details. Its within the first paragraph of options (the JDK or JRE version). If it says 1.3.1 then its using the wrong JDK.If this is the case either adjust your path settings for your OS such that the 1.4.2 java executable is found before the 1.3.1 OR, just add a -vm argument to your eclipse execution command:
eclipse.exe -vm c:\j2sdk1.4.2_02\bin\javaw.exe
-
AuthorPosts