• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

JasperException: Module 'null' not found.

 
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Are you here to take over the surface world? Because this tiny ad will stop you!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic