Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JasperException: Module 'null' not found.

 
Mike Himstead
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm working through J. Goodwill's "Mastering Jakarta Struts" but fail to get the first little Struts example up and running, mostly because the Strtus version in the book isn't up to date anymore. I tried to deal with it as far as I can.

First my code:

struts-config.xml


web.xml


index.jsp


The error message from Tomcat's log:



I use Eclipse 3.2.1 and Tomcat 5.0.28 with Struts 1.3.5. I put all jars from Strut's lib directory into Project/WEB-INF/lib folder and added them to the project's build path. struts-html.tld is located in Project/WEB-INF/tld.

Any ideas what could cause this? I read several answers that mention a missing library, but all Strut libs are in place.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change the following line in your web.xml file from:

to

In the future, it's much easier if you simply import the struts-blank.war file as a new project into Eclipse. Then all of these setup details are taken care of.
 
Mike Himstead
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Duh! I was staring at the code for ~ 2 hours before I posted. A good example that it's sometimes best to take a break. Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic