Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat - Class not found DojoFileStorageProvider

 
Stephen Munro
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm trying to get started on learning JSF (mojarra - 2.0.6). I was following along with a tutorial posted on youtube and currently I cannot get the application deployed on tomcat 7.
There exception I'm getting is:

WARNING: Unable to load class [DojoFileStorageProvider] to check against the @Ha
ndlesTypes annotation of one or more ServletContentInitializers.
java.lang.ClassNotFoundException: DojoFileStorageProvider
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1678)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1523)
at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextCo
nfig.java:2006)
at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(Co
ntextConfig.java:1969)
at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(Conte
xtConfig.java:1858)
at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(Conte
xtConfig.java:1826)
at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextC
onfig.java:1812)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.jav
a:1306)


My lib folder inside WEB-INF contains the following:
jstl.jar
standard.jar
jsf-api
jsf-impl

I'm guessing I'm missing a JAR file if I'm getting a class not found exception, but the tutorial makes no reference to any other required jars than the ones I mentioned. So, I'm guessing either the tutorial is out of date and I need an extra JAR or something is wrong with my tomcat container setup. Any ideas?


 
Tim Holloway
Bartender
Posts: 18419
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dojo is a (rather frustrating, IMHO) JavaScript support system. It is not part of either JSF or the Tomcat webapp server, so evidently something is missing from your WAR.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!