• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

The requested resource is not available.

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
web.xml :



SpreadsheetTool-servlet.xml:


I'm getting the error message:

type Status report

message Servlet SpreadsheetTool is not available

description The requested resource (Servlet SpreadsheetTool is not available) is not available.



I'm new to spring so it might be a dumb error or a misplaced link ....
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do springs really use html pages as beans ? I don't know springs, so I can't really help you about that. But from what I know, using a static html page as the bean's name seems weird.

With struts, we declare beans like that :



Can't you use a name without "/" and "." ? The name is used to associate the forms with the actions. Now you gave a link as your bean's name.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not using a HTML page as a bean - it's associating a URL with the bean.

Your error message means that the Spring dispatcher servlet (which you've named "SpreadsheetTool") has some errors and wasn't able to start. It's probably a classpath problem (missing some JARs) - but you'll need to look in your server's error logs to figure out the root problem.
 
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Tomita,

Where does SpreadsheetTool-servlet.xml file located? If you haven't configured explicitly then, it should be located under WEB-INF directory along with web.xml.
 
Tomita Militaru
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is weird, I'm on another computer using a different version of tomcat and it works! I used tomcat xxxx.14 and now xxxx.18
Could that be a reason?

@Nathan
I'll get back to you when I'm at my computer

@Jan
The file is in WEB-INF
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tomita Militaru wrote:This is weird, I'm on another computer using a different version of tomcat and it works! I used tomcat xxxx.14 and now xxxx.18
Could that be a reason?


This couldn't be the reason. I would suggest to verify that all required library files (Jars) are in the classpath as suggested by Nat.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!