Category: Maven, Spring Framework Gene De Lisa @ 12:52 pm —
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

So I gave the beta of the jetty maven plugin a try.

What I had was this:

<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.19</version>

I changed it to this which is the most current available version in the repos:

<artifactId>jetty-maven-plugin</artifactId>
<version>7.0.0.1beta3</version>

N.B. for maximum cognitive dissonance the jetty guys thought it would be a good idea to swap some words in the name around. That’s not a typo.

Well it started.  Six count ‘em six minutes later. I made a change to my Java source and was welcomed with this:

Unable to locate Spring NamespaceHandler for XML schema namespace etc. etc.

And then jetty cratered and had to be killed then restarted. Hardly “agile” with a 6 minute start up time and all you want to do is save one Java file…

So I went through the usual: was the spring jar in question on the classpath? Was the spelling of the namespace in the XML config file correct? Was the maven assembly plugin doing bad things? Was etc. etc.etc.

The answer is NO. The problem is the plugin.

Back to version 6 for me.

1 person has left a comment

#1

[…] Java software development info. … About the Author. Gene De Lisa Development notes by Gene De Lisa on topics relating to Java and various open source projects such as the Spring Framework, Hibernate and others. …Continue Reading… […]

You can leave a response, or trackback from your own site.

Write Your Comment

Comment Guidelines: Basic XHTML is allowed (a href, strong, em, code). All line breaks and paragraphs will be generated automatically.

You should have a name, right? 
Your email address, I promised I won't tell it to anyone. 
If you have a web site or blog, you can type the URL right here. 
This is where you type your comments. 
Remember my information for the next time I visit.