Jump to content
Excelsior Forums
amitkumarsingh

Excelsior compiled tomcat application throwing java.lang.nosuchMethodError

Recommended Posts

I compiled my tomcat application using excelsior but while starting the application i am getting the error as :

19-Feb-13 15:37:53 [org.springframework.web.servlet.FrameworkServlet.initServletBean ?] ERROR: Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rspUtil' defined in ServletContext resource [/WEB-INF

/applicationContext-rsp.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError

Caused by:

java.lang.NoSuchMethodError

at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createTaskRunner(Unknown Source)

at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.poolsInit(Unknown Source)

at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.<init>(Unknown Source)

at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.<unknown>(Unknown Source)

at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(Unknown Source)

at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(Unknown Source)

at org.springframework.jdbc.datasource.DataSourceUtils.<unknown>(Unknown Source)

at org.springframework.jdbc.core.JdbcTemplate.execute(Unknown Source)

at org.springframework.jdbc.core.JdbcTemplate.query(Unknown Source)

at org.springframework.jdbc.core.JdbcTemplate.query(Unknown Source)

at org.springframework.jdbc.core.simple.SimpleJdbcTemplate.query(Unknown Source)

at com.comviva.rsp.domain.jdbc.ServiceInfoDaoImpl.getServiceInfo(Unknown Source)

at com.comviva.rsp.utils.RSPUtil.loadInfo(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(Unknown Source)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(Unknown Source)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(Unknown Source)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(Unknown Source)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Unknown Source)

Can it be a problem related to the packaging of jars during compilation

Share this post


Link to post
Share on other sites

Hello,

Could you please open your project file in JET Control Panel,

go to "Test Run" page and press "Run!"? It may take some time, please watch "output" area.

Does your application start and work correctly in this mode?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×