Hello list,
I'm using JDK 1.3.1_04 and Oracle Application Server 9.0.2. I'm getting the
following error:
2/24/05 1:31 PM: java.lang.NoSuchMethodError
2/24/05 1:31 PM: at
com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:112)
2/24/05 1:31 PM: at
com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:94)
2/24/05 1:31 PM: at
com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:91)
2/24/05 1:31 PM: at
com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:91)
2/24/05 1:31 PM: at
com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:61)
2/24/05 1:31 PM: at
com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:49)
2/24/05 1:31 PM: at
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigPa
rser.java:77)
2/24/05 1:31 PM: at
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigPa
rser.java:68)
2/24/05 1:31 PM: at
com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientB
uilder.java:78)
2/24/05 1:31 PM: at
com.ibatis.dao.engine.transaction.sqlmap.SqlMapDaoTransactionManager.configu
re(SqlMapDaoTransactionManager.java:52)
2/24/05 1:31 PM: at
com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder.parseTransactionManag
er(XmlDaoManagerBuilder.java:190)
2/24/05 1:31 PM: at
com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder.parseContext(XmlDaoMa
nagerBuilder.java:154)
2/24/05 1:31 PM: at
com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder.buildDaoManager(XmlDa
oManagerBuilder.java:99)
Here is the code for processNodelet() from
com.ibatis.common.xml.NodeletParser.java
private void processNodelet(Node node, String pathString) {
Nodelet nodelet = (Nodelet) letMap.get(pathString);
if (nodelet != null) {
try {
nodelet.process(node);
} catch (Exception e) {
throw new RuntimeException("Error parsing XPath '" + pathString +
"'. Cause: " + e);
}
}
}
One thing I know is that the call to new RuntimeException(String, Throwable)
is a 1.4 specific method signature. I'm trying to find the problem thats
causing the application to fail in the first place. The same application and
sqlMap files work on JDeveloper 10g. Is this a XML library compatibility
problem?
Thanks,
Richard