0

compiling source

asked 2006-03-05 08:16:40 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: nobody

hello.
i've downloaded 1.0.1 source but get numerous compile errors. eg.

Error:Error:line (42)com.potix.idom.Document is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
Error:Error:line (34)com.potix.idom.DocType is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
Error:Error:line (55)com.potix.idom.Element is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
Error:Error:line (41)com.potix.idom.Attribute is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
Error:Error:line (31)com.potix.idom.CData is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
Error:Error:line (37)com.potix.idom.Binary is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
Error:Error:line (29)com.potix.idom.Comment is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
Error:Error:line (40)com.potix.idom.ProcessingInstruction is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
Error:Error:line (30)com.potix.idom.EntityReference is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
Error:Error:line (30)com.potix.idom.Text is not abstract and does not override abstract method getUserData(java.lang.String) in org.w3c.dom.Node
Error:Error:line (29)com.potix.idom.impl.DOMImplementation is not abstract and does not override abstract method getFeature(java.lang.String,java.lang.String)
in org.w3c.dom.DOMImplementation

Also, the quickstart zkdemo always fails on the initial page request:

http://localhost:8080/zkdemo/userguide

the exception is:

SEVERE: Servlet.service() for servlet zkLoader threw exception
java.lang.NoClassDefFoundError: bsh/UtilEvalError
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:269)
at com.potix.zk.ui.metainfo.DefinitionLoaders.parse(DefinitionLoaders.java:261)
at com.potix.zk.ui.metainfo.DefinitionLoaders.load(DefinitionLoaders.java:94)
at com.potix.zk.ui.metainfo.LanguageDefinition.lookupByExtension(LanguageDefini
tion.java:144)
at com.potix.zk.ui.sys.AbstractParser.parse(AbstractParser.java:174)
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:312)
at com.potix.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:294)
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:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:667)
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)

I'd very grateful if someone could point out the error of my ways. thanks very much.

robert.


delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2006-03-05 09:43:13 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: henrichen

Please check the former post:
http://sourceforge.net/forum/forum.php?thread_id=1453416&forum_id=514143

/henri

link publish delete flag offensive edit

answered 2006-03-05 13:51:03 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: nobody

moving WEB-INF/lib/ext/bsh.jar to WEB-INF/lib/bsh.jar solved the exception.
thanks. can you please also comment on the compile errors weirdness? thanks again.

robert

link publish delete flag offensive edit

answered 2006-03-05 15:45:30 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: tomyeh

Did you compile it under 1.5? ZK is compiled under 1.4 (and there is no getUserData).

link publish delete flag offensive edit

answered 2006-03-05 16:08:25 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: nobody

you're a savior! :)

using 1.4 and all is fine. thanks.

robert

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-03-05 08:16:40 +0800

Seen: 497 times

Last updated: Mar 05 '06

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