"max.andersen(a)jboss.com" wrote : winter is WTP 2.0.2 .....so that configuration
should not work ;)
| [...]
But is does work for me.
I have also seen those errors, but doing a complete clean install solves the problem for
me. But I do have to restart Eclipse once on first install for a components.xml error to
disappear.
I'll post my actions step by step:
(I'm using Windows Vista)
anonymous wrote :
| 1)
| Stop any running JBoss server.
|
|
| 2)
| Extract the following files all in the same directory. This directory must be clean
(no subdirectories) before extracting.
|
| eclipse-jee-europa-winter-win32.zip (132.676.279 bytes)
| JBossTools-2.0.1.GA-ALL-win32.zip (69.220.739 bytes)
| jboss-4.2.2.GA.zip (96.943.695 bytes)
| jboss-seam-2.0.1.GA.zip (97.019.703 bytes)
|
| (JBossTools will automatically be located in the right Eclipse directory.)
|
| 3)
| Start eclipse.exe in administrator mode (in Vista: rightclick > run as
administrator).
|
| 4)
| In Eclipse choose a NEW NON-EXISTING workspace.
|
| 5)
| (In Eclipse) start a new "Seam Web Project". As "Target Runtime",
choose "JBoss, a division of Red Hat" > "JBoss 4.2 Runtime" and
enable "Also create a new local server". Browe to the jboss-4.2.2.GA directory
extracted in previous steps.
|
| As "configurations" (still in the "New Seam Project" window),
choose "Dynamic Web Project with Seam 2.0 (technology preview)".
|
| Leave the "Project Facets" options and choose next till you're in the
"Seam Facet" options.
|
| As "Seam Runtime" add the jboss-seam-2.0.1.GA directory extracted in
previous steps.
|
| "Deploy as" is default set to "WAR". Leave it there.
|
| Add a database. Choose one yourself. (I choose hsql for simplicity.)
|
| And finish.
|
| Give Eclipse some time (no cpu usage), in previous tries, a got memory problems if I
went on to quickly.
|
| 8)
| Right click the newly created seam project > "Run As" > "Run on
Server" > next and finish.
| The project will now be deployed and raises an "error while reading
/WEB-INF/components.xml" error.
| See
http://91.186.11.154/~cyb/temp/java/run1.txt
|
| 9)
| stop the server via Eclipse and close Eclipse.
|
| 10)
| start eclipse again (in administrator mode) and run the project again.
| This time (and the following afterward) it will work without those errors.
| See
http://91.186.11.154/~cyb/temp/java/run2.txt
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146103#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...