# DeviceNotFoundException and DefinitionNotFoundException

snunes
1

Hello,

My webapp is throwing an exception on startup

SEVERE: Failed to load jar:file:/D:/workspace/ecosphere/GestLegis/target/zeus-0.0.1-SNAPSHOT/WEB-INF/lib/zhtml-5.0.3.jar!/metainfo/zk/lang.xml
at org.zkoss.zk.ui.metainfo.LanguageDefinition.<init>(LanguageDefinition.java:321)
...


(file zhtml-5.0.3.jar exists in the expected directory and metainfo/zk/lang.xml also exists inside the jar)

Also, another exception is thrown when I try to access it via browser (http://127.0.0.1:8081 redirects to http://127.0.0.1:8081/login.zul and I get the exception):

org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Language not found for extension zul
org.zkoss.zk.ui.metainfo.LanguageDefinition.getByExtension(LanguageDefinition.java:221)
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:177)
org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:100)
...


My configuration is ZK 5.0.3, JDK 1.7.0_80 (Oracle), Tomcat 7.0.92 on Windows 10.

I am new to this project and also to ZK, so please expect any newbie mistake from me.

Does anyone have an idea of what I'm missing?

More context:

• I am currently using IntellijIdea for this project, but with Eclipse, the result was the same.
• Both Idea and Eclipse are able to deploy the webapp whith tomcat7.
delete retag edit
Be the first one to answer this question!
[hide preview]