The most intelligent Java IDE
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » EJB and Other Java EE Technologies
 
RSS feed
 
New topic
Author

EJB 2.0 and Xdcolet problems!

Srik Messmer
Ranch Hand

Joined: Sep 10, 2008
Messages: 36

Hi All, I am a newbie to EJB. I did a fair amount of research on EJBs and now comfortable with all the basic. SO I decided to do a sample project - but I am struck on this

I m trying the sample provided in this link - http://www.eclipse.org/webtools/community/tutorials/ejbtutorial/buildingejbs.html

But the Xdoclet never generated the files for me, it throws some Doclet exception. Can anyone tell me the reason for this exception and help me run this sample project sucessfully?

Thanks in advance....


If it's easy.. then everybody would do it!
Stefaan Somers
Greenhorn

Joined: Oct 08, 2009
Messages: 1

Hi,

I've got the same problem. But after a whole bench of googling still haven't found the solution.
Have you found a solution in the mean time??
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Messages: 8514

EJB2 & Xdoclet? Any reason you are using these old technologies? Is it a legacy application?

This message was edited 1 time. Last update was at by Paul Sturrock


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ganesh Parasuraman
Greenhorn

Joined: Jan 18, 2010
Messages: 4

Hi,
If you are using EJB 2.0 and XDoclet 1.2.3 in Eclipse IDE then problem might be the EJBSession implemented methods in the class HelloBean.
Please remove all the implemented methods expect the constructor. i.e from the line number the XDoclet is throwing exceptions.
I tried this and worked fine for me.

Please let me know whether it worked for you or not and if you have already resolved the problem please share it so that I can also try that method.

Thanks
Sanjib Pal
Greenhorn

Joined: Feb 08, 2010
Messages: 9

Hi

I have experience with this problem. Please change the jre path to MyEclipse jre from Build Path Configuration. I think it will solved.

Thanks,
Sanjib

This message was edited 1 time. Last update was at by Sanjib Pal


SCJP 5.0
Try unless you get the ultimate success.
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » EJB and Other Java EE Technologies
 
RSS feed
 
New topic
IntelliJ open source