Chosing the 2nd option I get the error :
Missing classpath entry C:\jboss-4.2.1.GA\server\default\lib\javax.servlet.jar
As far as I know, from the version 4.x of the Jboss Server, it already includes the EJB. So the only reason for that error should due to a not correct server definition.
Internet is a good place to find the answer. Thanks to Wolfgang Knauf, we have some new JBoss server definitions here: http://www.informatik.fh-wiesbaden.de/~knauf/public/
There are two different jars for WTP 1.5 and 2.0.
So enjoy it!
To use the plugin:
- JBoss 4.0.x: You MUST have installed the EJB3 RC9 to the
default
configuration so that the plugin can find all required libraries.
For JBoss 4.0.4 with installer including EJB3 RC8 this is done automatically.
For EJB3 RC 9 there is no JBoss AS installer, it must be installed to thedefault
configuration manually. Later you can install EJB3 RC9 to any other configuration, the jars from thedefault
configuration are only needed for starting up application clients and for Eclipse.- JBoss 4.2.0: the
default
configuration must be present so that the plugin can find all required libraries (tested for CR1 to GA)- JBoss 5.0.0: the
default
configuration must be present so that the plugin can find all required libraries (tested for Beta2)- Delete previous versions of this plugin if already installed.
- Download org.eclipse.jst.server.jboss.ejb3_1.5.0.v200706052200.jar
- Copy the file to the subdirectory "plugins" of your eclipse installation.
- Restart eclipse once with the "-clean" option: "eclipse -clean".
- Create a new server runtime. You will find the runtimes in the "JBoss" branch, labeled "JBoss 4.0.4 or 4.0.5 with EJB3 RC8 or RC9", "JBoss 4.2.0" or "JBoss 5.0"
5 comments:
Thx,
you saved my life...
this post saved my life too........
Thanks, this was really useful
This was helpful to me too.
Thank you!
this kind of topic is good for people to learn more about it, and that people should be every day less ignorant, and medicine for this is the reading of issues like this
Post a Comment