"chuckadams" wrote : All the lib/ subdirectory is is a copy of ../lib. The lack
of a lib directory suggests that either scaffold-wtp-project didn't complete, the
project name wasn't provided, or seamgen wasn't installed and run from a
subdirectory of a complete seam installation.
|
| You should probably paste in the text of your whole session with seam-gen, from
set-properties to scaffold-wtp-project. Try it with a new eclipse project, since this one
doesn't seem to have been generated right. I recommend creating the server connection
first (New->Other->Server. JBoss 4.0 will appear under two menus, it doesn't
matter which you use). Then when you create your new enterprise archive project, pick the
server you configured, and it should add the correct libs for you.
|
|
Well... You made me to try it again... I did... and seam-gen generated the code and I was
able to get to the end of guide.
Still have some questions.
When I "publish"(using Eclipse 3.2) sample.ear is being moved to
$JBOSS_HOME/jboss-4.0.4.GA/server/default,all,minimal/deploy ... And when I start JBoss
from $JBOSS_HOME/bin than the example is working(looks like).
If I try to start JBoss from Eclipse than I got error in console
"java.lang.NoClassDefFoundError: Files/jboss-4/0/4/GA/bin////lib/endorsed"
and error window (Java Virtual Machine Lancher) "Could not find the main class.
Program will exit".
Looks like configuration of JBoss in Eclipse is a bit off, or I miss something.
Any idea?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966140#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...