Spring Pizza demo fixed - No Fluff Just Stuff

Spring Pizza demo fixed

Posted by: Craig Walls on May 27, 2004

It seems that I forgot a few details about the Spring Pizza demo that I distributed after RMSS this weekend. Here's the problems and how to fix them.

First problem: I forgot that the XDoclet plugin for Maven doesn't come with Maven. You'll need this to run the build. You can download it from http://www.ibiblio.org/maven/xdoclet/plugins/maven-xdoclet-plugin-1.2.jar. After downloading it, put it in your Maven plugins directory (on a UNIX box, that'll be ~/.maven/plugins. On a WinNT box, that'll be c:/winnt/profiles/{username}/.maven/plugins).

Second problem: For some reason the all-inclusive Spring JAR file for version 1.0.1 isn't in the ibibio repository, but my project.xml file requires version 1.0.1. I made it work because I manually copied Spring's 1.0.1 spring.jar into the repository and named it appropriately. Your options are:

  • Download Spring 1.0.1 and copy the spring.jar file from the dist/ directory to .maven/repository/springframework/jars/spring-1.0.1.jar.

  • Edit project.xml and change the version for Spring to 1.0. The 1.0 JAR file is on ibiblio and my demo should work fine with version 1.0.

Sorry for the inconvenience. And thanks to those who pointed out the problem. I shall now go hang my head in shame for these mistakes.

Craig Walls

About Craig Walls

Craig Walls is a Principal Engineer, Java Champion, Alexa Champion, and the author of Spring AI in Action, Spring in Action, and Build Talking Apps. He's a zealous promoter of the Spring Framework, speaking frequently at local user groups and conferences and writing about Spring. When he's not slinging code, Craig is planning his next trip to Disney World or Disneyland and spending as much time as he can with his wife, two daughters, 1 bird and 2 dogs.

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »