- This topic has 8 replies, 2 voices, and was last updated 19 years, 1 month ago by Greg.
-
AuthorPosts
-
Stephen McConnellMemberI’m trying to run XDoclet for Hibernate. I keep getting the message
Java Virtual Machine Launcher
“Cannot find the main class. Program will exit.”
I’ve configured the MyEclipse XDoclet Propeties, but keep getting this message.
Wonder what’s going on?Thanks
GregMemberWhat XDoclet build policy are you using? (Right-click project > Properties > MyEclipse-XDoclet > Build. Switch to “Use xdoclet-build.xml file” if you haven’t already. Then press OK. This will create a xdoclet-build.xml file in your project. Now try to run XDoclet using MyEclipse > Run XDoclet action.
If the problem persists can you post the entire output of the XDoclet console?
Stephen McConnellMemberStill get the same problem. Where is the XDoclet Console? There is no console output when I run XDoclet….
GregMemberSo where are you seeing the error message? Are you seeing this in an error dialog or in the Eclipse error log?
Stephen McConnellMemberTis an error dialog…
Stephen McConnell
GregMemberCan you look at your eclipse error log as well? <WORKSPACE>/.metadata/.log
Also, what is your path to your workspace? Does it contain any spaces?
Stephen McConnellMemberThere is no log message generated.
the path to my workspace is:
C:/Projects/scawa/
I have two projects included in my workspace.
CoreRoutines
StockandTradeBut I think I just figured it out…. It has to do with my firewall….. and the way you access the JVM…..
I turned off the firewall and it works…. Checking firewall settings now.
Stephen McConnellMemberWell…
Removed JDK’s and reinstalled them. Removed and reinstalled MyEclipseIDE and Eclipse…
Now It works. There may have been something in the way I installed both JDK 5.0 and 1.4.2 that messed it up.
Thank you for your help…. Don’t know how to close this, but the topic can be closed.
Oh… BTW, it’s time to renew my subscription… for the 3rd time…. It will be the best money I’ve EVER spent… Great product, great support….. You can’t miss.
GregMemberStephen,
Glad its working now. Remember that if you want XDoclet to support java5 syntax you must enable it in your XDoclet build configuration. It should be turned on by default if you are running MyEclipse with a jdk5 jvm.
As far as closing the topic, that is something the moderators generally do after they have seen the user’s issue has been resolved. So you don’t have to worry about that.
Oh… BTW, it’s time to renew my subscription… for the 3rd time…. It will be the best money I’ve EVER spent… Great product, great support….. You can’t miss.
Thanks for your kind words and its an encouragement for us that we have earned your support for another year. As always, in the next year, MyEclipse will be getting better than ever. 🙂
-
AuthorPosts