HTTP Status 500 - java.lang.NoClassDefFoundError: org/apache/commons/dbcp/BasicDataSource
type Exception report
message java.lang.NoClassDefFoundError: org/apache/commons/dbcp/BasicDataSource
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/commons/dbcp/BasicDataSource plantid.common.controller.ControllerAction.requestPro(ControllerAction.java:105) plantid.common.controller.ControllerAction.doGet(ControllerAction.java:65) javax.servlet.http.HttpServlet.service(HttpServlet.java:734) javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
root cause
java.lang.NoClassDefFoundError: org/apache/commons/dbcp/BasicDataSource com.ibatis.common.jdbc.DbcpConfiguration.legacyDbcpConfiguration(DbcpConfiguration.java:97) com.ibatis.common.jdbc.DbcpConfiguration.<init>(DbcpConfiguration.java:45) com.ibatis.sqlmap.engine.datasource.DbcpDataSourceFactory.initialize(DbcpDataSourceFactory.java:32) com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$9.process(SqlMapConfigParser.java:220) com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:121) com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:105) com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:102) com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:102) com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:72) com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:51) com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:46) com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:63) plantid.common.db.sqlconfig.IBatisDBConnector.<clinit>(IBatisDBConnector.java:19) plantid.common.dao.CommonDao.SetDB(CommonDao.java:8) plantid.plant.dao.plantDao.getInstance(plantDao.java:22) plantid.plant.action.ListAction.requestPro(ListAction.java:43) plantid.common.controller.ControllerAction.requestPro(ControllerAction.java:100) plantid.common.controller.ControllerAction.doGet(ControllerAction.java:65) javax.servlet.http.HttpServlet.service(HttpServlet.java:734) javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
root cause
java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource java.net.URLClassLoader$1.run(Unknown Source) java.security.AccessController.doPrivileged(Native Method) java.net.URLClassLoader.findClass(Unknown Source) sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source) java.lang.ClassLoader.loadClass(Unknown Source) java.lang.ClassLoader.loadClass(Unknown Source) com.ibatis.common.jdbc.DbcpConfiguration.legacyDbcpConfiguration(DbcpConfiguration.java:97) com.ibatis.common.jdbc.DbcpConfiguration.<init>(DbcpConfiguration.java:45) com.ibatis.sqlmap.engine.datasource.DbcpDataSourceFactory.initialize(DbcpDataSourceFactory.java:32) com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$9.process(SqlMapConfigParser.java:220) com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:121) com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:105) com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:102) com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:102) com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:72) com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:51) com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:46) com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:63) plantid.common.db.sqlconfig.IBatisDBConnector.<clinit>(IBatisDBConnector.java:19) plantid.common.dao.CommonDao.SetDB(CommonDao.java:8) plantid.plant.dao.plantDao.getInstance(plantDao.java:22) plantid.plant.action.ListAction.requestPro(ListAction.java:43) plantid.common.controller.ControllerAction.requestPro(ControllerAction.java:100) plantid.common.controller.ControllerAction.doGet(ControllerAction.java:65) javax.servlet.http.HttpServlet.service(HttpServlet.java:734) javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.57 logs.
Apache Tomcat/7.0.57
반응형
'문제점해결' 카테고리의 다른 글
HTTP Status 500 - java.lang.NoClassDefFoundError: com/ibatis/common/resources/Resource (1) | 2014.12.30 |
---|---|
java.lang.ExceptionInInitializerError (0) | 2014.12.19 |
FTP 프로그램에서 폴더삭제가 안될 때 (0) | 2014.12.18 |
프로젝트를 실행하려는데 에러가 넘쳐난다. -2 (0) | 2014.12.16 |
프로젝트를 실행하려는데 에러가 넘쳐난다. -1 (0) | 2014.12.16 |