The problem continues because you're trying to use the Maven 2 plugin
for IDEA.  As far as I can tell, this plugin doesn't work with IDEA 6.

Matt

On 4/21/07, swordfish <[EMAIL PROTECTED]> wrote:

It doesn't work yet.  The problem insists.

when I tried to run jetty:run-war under web POM in IDEA, I got this error in
the "Maven-2 Build Output" window:
---------------------------------------------------------------
C:\Program Files\Java\jdk1.5.0_11\bin\java.exe -classpath
-Dclassworlds.conf=C:\maven\bin\m2.conf -Dmaven.home=C:\maven
org.codehaus.classworlds.Launcher -f D:/Temp/TapestryApp/web/pom.xml
jetty:run-war

Process terminated abnormally! Exit code 1
---------------------------------------------------------------

Then I tried to run the same command in Command Prompt, I got this error:
---------------------------------------------------------------
Exception in thread "main" java.lang.NoClassDefFoundError:
org/codehaus/classworlds/Launcher
---------------------------------------------------------------


Will Berger wrote:
>
> In idea, go to the debug window, select the remote debug tab.  Add a new
> profile,
>
> Your settings should look something like this.
>
> -Xdebug -Xnoagent -Djava.compiler=NONE
> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9090.
>
>
> You can specify whatever port you like that is not in use. I chose 9090.
> The assumption here is that your idea and jetty server are on localhost
> machine(You could specify another machine).
>
> Go to your bin/maven.bat or /bin/maven.sh and add the following to your
> OPTS
>
> set MAVEN_OPTS=-Xms32m -Xmx196m -Xdebug -Xnoagent  -Djetty.port=8090
> -Djava.compiler=NONE
> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9090
>
> When the java vm executes, it will listen on port 9090 for remote debug
> sessions.
>
> Thats all there is to it. Now you can mvn jetty:run and start a remote
> debug session.
>
> Will
>

--
View this message in context: 
http://www.nabble.com/How-to-run-AppFuse-web-app-on-Jetty-in-IDEA-tf3619895s2369.html#a10116464
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to