You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by "Yee, Richard K, CTR,, DMDCWEST" <Ri...@osd.pentagon.mil> on 2005/02/24 22:50:26 UTC
java.lang.NoSuchMethodError at com.ibatis.common.xml.NodeletParse
r.processNodelet(NodeletParser.java:112)
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
Re: java.lang.NoSuchMethodError at com.ibatis.common.xml.NodeletParse r.processNodelet(NodeletParser.java:112)
Posted by Brandon Goodin <br...@gmail.com>.
This is a known problem. It has been fixed for the next release.
Brandon
On Thu, 24 Feb 2005 21:50:26 -0000, Yee, Richard K, CTR,, DMDCWEST
<Ri...@osd.pentagon.mil> wrote:
> 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
>
>