Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

class attribute invalid

 
Sebastiaan Kortleven
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm about to go bananas. I'm trying to write a simple JSP with a bean and I keep getting this error (I'm using Tomcat 5.5.17):



This is my bean:



And this is the interesting part of my JSP page



The path the .class file is in is $CATALINA_HOME\webapps\ROOT\am\WEB-INF\classes\be\ictservices\aansluitingsmodule\dto


What am I doing wrong?

Thanks!
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
$CATALINA_HOME\webapps\ROOT\am\WEB-INF\classes\be\ictservices\aansluitingsmodule\dto

Move your "am" directory from the ROOT directory to the webapps directory.
All of your webapps should be directly under the webapps directory.
The ROOT folder is a webapp. It is the root webapp that ships with Tomcat.
Webapps can't be nested inside one another.
[ October 04, 2006: Message edited by: Ben Souther ]
 
Sebastiaan Kortleven
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
/me bangs head on desk...

thanks!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic