0

java.lang.NoClassDefFoundError: com/potix/zk/

asked 2006-04-06 16:40:58 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3673201

By: the-e-factory


Hi, when I run my apllication with 1.2 I have the following error (see below)

When I look in the pakkage com.potix.zk.ui.event, i don't see a Inputable class, but it's the 1.2 pakkage.
Many thanks



SEVERE: Servlet.service() for servlet zulLoader threw exception
java.lang.NoClassDefFoundError: com/potix/zk/ui/event/Inputable
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1324)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1186)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.potix.lang.Classes.forNameByThread(Classes.java:160)
at com.potix.zk.ui.metainfo.DefinitionLoaders.locateClass(DefinitionLoaders.jav
a:268)
at com.potix.zk.ui.metainfo.DefinitionLoaders.parse(DefinitionLoaders.java:260)
at com.potix.zk.ui.metainfo.DefinitionLoaders.load(DefinitionLoaders.java:105)
at com.potix.zk.ui.metainfo.LanguageDefinition.lookupByExtension(LanguageDefini
tion.java:154)
at com.potix.zk.ui.sys.AbstractParser.parse(AbstractParser.java:182)
at com.potix.zk.ui.sys.AbstractParser.parse(AbstractParser.java:70)
at com.potix.zk.ui.http.Definitions$MyLoader.parse(Definitions.java:137)
at com.potix.web.util.resource.ResourceLoader.load(ResourceLoader.java:80)
at com.potix.util.resource.ResourceCache$ResourceInfo.load(ResourceCache.java:2
12)
at com.potix.util.resource.ResourceCache$ResourceInfo.<init>(ResourceCache.java
:185)
at com.potix.util.resource.ResourceCache.get(ResourceCache.java:124)
at com.potix.web.util.resource.ResourceCaches.get(ResourceCaches.java:121)
at com.potix.zk.ui.http.Definitions.getPageDefinition(Definitions.java:56)
at com.potix.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:273)
at com.potix.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:255)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)


delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2006-04-06 16:49:36 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3673218

By: tomyeh

The package is changed (moved to com.potix.ui.ext). Please take a look at doc/release-note (from the distribution).


link publish delete flag offensive edit

answered 2006-04-06 16:51:51 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3673223

By: tomyeh

Oops, I forgot to mention this in the Upgrade Notes of release-note.

Sorry for the inconvience.

link publish delete flag offensive edit

answered 2006-04-06 16:53:00 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3673225

By: the-e-factory


Hi look at the code and there I find:

zk_action="/Fotoalbum/Fotoalbum";
zk_desktopId="gibj";

so it seems that the context (Fotoalbum) is put there two times ?
I used the same web.xml and just put the zk.xml from the demo :-) thanks



link publish delete flag offensive edit

answered 2006-04-06 17:02:35 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3673240

By: tomyeh

zk_action is /context-path/update-uri
For example, in our demo site, it is /zkdemo/zkau.

If you didn't change the mapping of web.xml, the second element shall be zkau.
<init-param>
<param-name>update-uri</param-name>
<param-value>/zkau</param-value>
</init-param>

If zk_action is incorrect, the dynamic updates will fail.

link publish delete flag offensive edit

answered 2006-04-06 17:40:32 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3673300

By: the-e-factory


actually I never use a reference to the inputable class ?

I don't get the focus neither in my login page?

I used the same web.xml as with zk 1.1: I do not have to change this one?:

<init-param>
<param-name>update-uri</param-name>
<param-value>/Fotoalbum</param-value>
</init-param>
<servlet-mapping>
<servlet-name>auEngine</servlet-name>
<url-pattern>/Fotoalbum/*</url-pattern>
</servlet-mapping>

this used to work but now I get this exception ?


link publish delete flag offensive edit

answered 2006-04-07 01:23:44 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3673908

By: tomyeh

Did you use FCKeditor? If so, you have to download zk-FCKeditor-2.2-2006-03-31.zip
and later.

You could use any update-uri you like as long as

1) it matches with url-pattern of auEngine
2) it is mapped if you use Apache

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-04-06 16:40:58 +0800

Seen: 450 times

Last updated: Apr 07 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More