Sunday, August 31, 2008

Maven Jetty Plugin - Embedded error: Bad temp directory

For the record, this error is caused by running mvn jetty:run-war from the top-level directory of a modular project, rather than your web project directory.

http://markmail.org/message/ubjlpzebsgv5idxz

2 comments:

hbusch said...

This problem also occurs when your web project doesn't contain a java source folder. Maven then generates no classes directory and Jetty won't start.

Blair said...

I got this when running mvn jetty:run correctly, but under my postgres user.