ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim <deadmo...@gmail.com>
Subject Re: Class not found
Date Mon, 20 Oct 2008 18:19:50 GMT
Double check all the possible library conflicts. Huge amount of cryptic
errors happen because of library/parent-first/parent-last issues.

On Mon, Oct 20, 2008 at 4:37 PM, Helder Ribeiro <heldergr@gmail.com> wrote:

> Hello,
>
> Im using ibatis in the SAP XI Server and I got a problem. Locally it works
> fine, but when I upload my application jar and the ibatis jars I
> got the problema. Bellow is our code and the exception stacktrace. I have
> used ibatis in other projects but I have never seen this error. Does anyone
> have any idea of what may be causing it ?
>
> Thanks in advance,
>
>  try {
>                 Reader reader = Resources.getResourceAsReader(
>                                SqlMapClientFactory.class.getClassLoader(),
> "sqlMapConfig.xml");
>
>                        return
> SqlMapClientBuilder.buildSqlMapClient(reader);
>
>                } catch (IOException e) {
>                        throw new RuntimeException("Error getting
> sqlMapClient: " + e.getMessage(), e);
>                }
>
> com.sap.aii.ibrun.server. mapping.persist.ResourceNotFoundException:
> Unable to find resource net/sf/cglib/proxy/InvocationHandler.class
> (..., 96602531-9ba7-11dd-cdd6-e71d0a4b0114, -1) at
>
> com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.getInputStream(DBSwcvMappingPersistor.java:325)
> at
> com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.readFile(DBSwcvMappingPersistor.java:203)
> at
> com.sap.aii.ibrun.server.mapping.persist.DBSwcvMappingPersistor.readClass(DBSwcvMappingPersistor.java:195)
> at
> com.sap.aii.ibrun.server.mapping.MappingLoader.findClass(MappingLoader.java:138)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at
> java.lang.ClassLoader.loadClass(ClassLoader.java:235) at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at
> java.lang.Class.forName0(Native Method) at
> java.lang.Class.forName(Class.java:141) at
> com.ibatis.common.resources.Resources.classForName(Resources.java:244)
> at
> com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$3.process(SqlMapConfigParser.java:167)
> at
> com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:111)
> at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:74)
> at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:92)
> at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:62) at
> com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50) at
>
> com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:81)
> at
> com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:62)
> at...
>
> --
>
> Helder Ribeiro
>

Mime
View raw message