0

java.lang.NoSuchMethodError: org.zkoss.zk.ui.metainfo.LanguageDefinition.addMergeJavaScriptPackage

asked 2013-10-31 07:57:43 +0800

takumi gravatar image takumi
12 3

Hi,

I'm using zk6.5.1.1. When I try to build, Console shows the error message. Following is whole message.

Could you please tell me why this error happen ? and how to fix it ?

Thanks,

Oct 31, 2013 4:23:48 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25/jre/lib/i386/server:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25/jre/lib/i386:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25/jre/../lib/i386:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25/jre/lib/i386/client:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25/jre/lib/i386::/usr/java/packages/lib/i386:/lib:/usr/lib
Oct 31, 2013 4:23:48 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:zkproject5_memory_optimized_branch' did not find a matching property.
Oct 31, 2013 4:23:48 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 31, 2013 4:23:48 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Oct 31, 2013 4:23:48 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 926 ms
Oct 31, 2013 4:23:48 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Oct 31, 2013 4:23:48 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.30
Oct 31, 2013 4:23:52 PM org.zkoss.zk.ui.http.WebManager <init>:115
INFO: Starting ZK 6.5.1.1 EE (build: 2012121311)
Oct 31, 2013 4:23:53 PM org.zkoss.zk.ui.sys.ConfigParser parseConfigXml:160
INFO: Loading system default
Oct 31, 2013 4:23:53 PM org.zkoss.zk.ui.sys.ConfigParser parseClass:745
SEVERE: jar:file:/home...ar!/metainfo/zk/config.xml:23:17: Unable to load org.zkoss.zkmax.au.http.SmartAuWriter
Oct 31, 2013 4:23:53 PM org.zkoss.zk.ui.sys.ConfigParser parse:267
INFO: Parsing jndi:/localhost/zkproject5/WEB-INF/zk.xml
Oct 31, 2013 4:23:53 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders parseLang:410
WARNING: Component portallayout ignored. Reason: unable to load org.zkoss.zkmax.zul.Portallayout due to java.lang.NoClassDefFoundError: org/zkoss/zul/impl/api/XulElement
Oct 31, 2013 4:23:53 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders parseLang:410
WARNING: Component portalchildren ignored. Reason: unable to load org.zkoss.zkmax.zul.Portalchildren due to java.lang.NoClassDefFoundError: org/zkoss/zul/impl/api/XulElement
Oct 31, 2013 4:23:53 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders parseLang:410
WARNING: Component tablechildren ignored. Reason: unable to load org.zkoss.zkmax.zul.Tablechildren due to java.lang.NoClassDefFoundError: org/zkoss/zul/impl/api/XulElement
Oct 31, 2013 4:23:53 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders parseLang:410
WARNING: Component tablelayout ignored. Reason: unable to load org.zkoss.zkmax.zul.Tablelayout due to java.lang.NoClassDefFoundError: org/zkoss/zul/impl/api/XulElement
Oct 31, 2013 4:23:53 PM org.zkoss.zk.ui.util.Configuration invokeWebAppInits:729
SEVERE: Failed to invoke class org.zkoss.breeze.ComponentWebAppInit
java.lang.NoSuchMethodError: org.zkoss.zk.ui.metainfo.LanguageDefinition.addMergeJavaScriptPackage(Ljava/lang/String;)V
    at org.zkoss.breeze.ComponentWebAppInit.init(ComponentWebAppInit.java:33)
    at org.zkoss.zk.ui.util.Configuration.invokeWebAppInits(Configuration.java:727)
    at org.zkoss.zk.ui.impl.AbstractWebApp.init(AbstractWebApp.java:202)
    at org.zkoss.zk.ui.http.SimpleWebApp.init(SimpleWebApp.java:58)
    at org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:223)
    at org.zkoss.zk.ui.http.HttpSessionListener23.contextInitialized(HttpSessionListener23.java:140)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)

Oct 31, 2013 4:23:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Oct 31, 2013 4:23:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Oct 31, 2013 4:23:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5468 ms
Oct 31, 2013 4:23:55 PM org.zkoss.util.resource.impl.LabelLoader loadLabels:232
INFO: Loading labels for en_US
Oct 31, 2013 4:23:55 PM org.zkoss.util.resource.impl.LabelLoader loadLabels:232
INFO: Loading labels for en
Oct 31, 2013 4:23:55 PM org.zkoss.util.resource.impl.LabelLoader load:373
INFO: Opening jndi:/localhost/zkproject5/WEB-INF/i3-label.properties
delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-11-01 09:12:36 +0800

RaymondChao gravatar image RaymondChao
386 1 4

Hello takumi, did you migrated from ZK5 to ZK6? The breeze theme had become the default styling, without the need to include breeze.jar since 6.0.0. You can remove breeze.jar from your project and try again. And did you upgrade all the jars to ZK6?

link publish delete flag offensive edit
0

answered 2013-11-08 06:27:39 +0800

takumi gravatar image takumi
12 3

Hello,

Yes, I migrated from ZK5 to ZK6.

I removed breeze.jar. The message disappeared. Thank you very much.

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2013-10-31 07:57:43 +0800

Seen: 74 times

Last updated: Nov 08 '13

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