File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes JasperException: Module 'null' not found. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JasperException: Module Watch "JasperException: Module New topic
Author

JasperException: Module 'null' not found.

Mike Himstead
Ranch Hand

Joined: Apr 12, 2006
Posts: 178
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

Joined: Feb 15, 2005
Posts: 4864
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.


Merrill
Consultant, Sima Solutions
Mike Himstead
Ranch Hand

Joined: Apr 12, 2006
Posts: 178
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.
 
 
subject: JasperException: Module 'null' not found.
 
Similar Threads
problem in struts-config.xml
struts - tomcat 5 startup error
http status 404 error
Installing jakarta-tomcat-5.0.28
Problem in Struts : Error 404 : servlet action as unavailable