0

ClassNotFoundException: ParameterSetter

asked 2016-01-20 14:16:48 +0800

JackMiras gravatar image JackMiras
1

I'm trying to run a web server application but every time that I try start my application I get the following error:

Jan 20, 2016 11:01:53 AM org.apache.catalina.core.AprLifecycleListener init INFORMAÇÕES: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x8664-linux-gnu/jni:/lib/x8664-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib Jan 20, 2016 11:01:53 AM org.apache.tomcat.util.digester.SetPropertiesRule begin ADVERTÊNCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:sgaweb' did not find a matching property. Jan 20, 2016 11:01:54 AM org.apache.coyote.AbstractProtocol init INFORMAÇÕES: Initializing ProtocolHandler ["http-bio-8080"] Jan 20, 2016 11:01:54 AM org.apache.coyote.AbstractProtocol init INFORMAÇÕES: Initializing ProtocolHandler ["ajp-bio-8009"] Jan 20, 2016 11:01:54 AM org.apache.catalina.startup.Catalina load INFORMAÇÕES: Initialization processed in 1619 ms Jan 20, 2016 11:01:54 AM org.apache.catalina.core.StandardService startInternal INFORMAÇÕES: Starting service Catalina Jan 20, 2016 11:01:54 AM org.apache.catalina.core.StandardEngine startInternal INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/7.0.42 Jan 20, 2016 11:01:57 AM org.zkoss.zk.ui.http.WebManager <init> INFORMAÇÕES: Starting ZK 7.0.3 CE (build: 2014090212) Jan 20, 2016 11:01:57 AM org.zkoss.zk.ui.sys.ConfigParser parseConfigXml INFORMAÇÕES: Loading system default Jan 20, 2016 11:01:58 AM org.zkoss.zk.ui.sys.ConfigParser parse INFORMAÇÕES: Parsing jar:file:/home/bbsistemas/Workspace/apache-tomcat-7.0.42-ZK7/lib/zul.jar!/metainfo/zk/zk.xml Jan 20, 2016 11:01:59 AM org.apache.catalina.loader.WebappClassLoader validateJarFile INFORMAÇÕES: validateJarFile(/home/bbsistemas/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/sgaweb/WEB-INF/lib/javax.servlet-api-3.1.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class Jan 20, 2016 11:02:01 AM org.apache.catalina.startup.ContextConfig validateSecurityRoles INFORMAÇÕES: WARNING: Security role name {"codsis":"43","codprf":"217","desprf":"SGAWS"} used in an <auth-constraint> without being defined in a <security-role> Jan 20, 2016 11:02:01 AM org.zkoss.zk.ui.http.WebManager <init> INFORMAÇÕES: Starting ZK 7.0.3 CE (build: 2014090212) Jan 20, 2016 11:02:01 AM org.zkoss.zk.ui.sys.ConfigParser parse INFORMAÇÕES: Parsing jar:file:/home/bbsistemas/Workspace/apache-tomcat-7.0.42-ZK7/lib/zul.jar!/metainfo/zk/zk.xml Jan 20, 2016 11:02:01 AM org.zkoss.zk.ui.sys.ConfigParser parse INFORMAÇÕES: Parsing jndi:/localhost/sgaweb/WEB-INF/zk.xml Jan 20, 2016 11:02:01 AM org.zkoss.zk.ui.sys.ConfigParser parseSystemConfig INFORMAÇÕES: The event processing thread is disabled Jan 20, 2016 11:02:01 AM org.apache.coyote.AbstractProtocol start INFORMAÇÕES: Starting ProtocolHandler ["http-bio-8080"] Jan 20, 2016 11:02:01 AM org.apache.coyote.AbstractProtocol start INFORMAÇÕES: Starting ProtocolHandler ["ajp-bio-8009"] Jan 20, 2016 11:02:01 AM org.apache.catalina.startup.Catalina start INFORMAÇÕES: Server startup in 7526 ms Jan 20, 2016 11:02:10 AM org.apache.catalina.core.StandardWrapperValve invoke GRAVE: Servlet.service() for servlet [zkLoader] in context with path [/sgaweb] threw exception [Servlet execution threw an exception] with root cause java.lang.ClassNotFoundException: ParameterSetter at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2625) at java.lang.Class.getDeclaredMethods(Class.java:1868) at com.ibatis.common.beans.ClassInfo.getClassMethods(ClassInfo.java:241) at com.ibatis.common.beans.ClassInfo.addGetMethods(ClassInfo.java:102) at com.ibatis.common.beans.ClassInfo.<init>(ClassInfo.java:75) at com.ibatis.common.beans.ClassInfo.getInstance(ClassInfo.java:497) at com.ibatis.common.resources.Resources.instantiate(Resources.java:296) at com.ibatis.common.resources.Resources.instantiate(Resources.java:283) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$5.process(SqlMapConfigParser.java:155) at com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:121) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:84) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:102) at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:72) at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:51) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:46) at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:63) at br.com.bbm.framework.dao.ibatis.SqlMapConfig.<clinit>(SqlMapConfig.java:32) at br.com.bbm.framework.dao.ibatis.DAOGenerico.<init>(DAOGenerico.java:52) at br.com.bbm.framework.dao.ibatis.DAOGenericoLimit.<init>(DAOGenericoLimit.java:22) at br.com.bbm.framework.dao.ibatis.WebmnuDAO.<init>(WebmnuDAO.java:17) at br.com.bbm.framework.richlets.MyPage2.<init>(Index.java:58) at br.com.bbm.framework.richlets.Index.service(Index.java:37) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:477) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:352) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:207) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:136) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) 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:745)

And I really don't know what to do to solve this error.

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-01-20 15:17:50 +0800

chillworld gravatar image chillworld flag of Belgium
5143 3 9
https://github.com/chillw...

You miss some dependency.

As I can see I'm thinking this one :

http://mvnrepository.com/artifact/org.apache.ibatis/ibatis-sqlmap

Chill.

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
2 followers

RSS

Stats

Asked: 2016-01-20 14:16:48 +0800

Seen: 8 times

Last updated: Jan 20 '16