LOL... you know what?  I didn't upload the DTDs...

The framework should use the DTD embedded in the JAR file, but if you're using a weird parser or an external tool, it will fail.  Sorry.  I'll upload  them now, and they'll propogate across the mirrors over the next 24 hours.


2009/8/12 Erdem Budak <>
Hey all.

I am trying to build a simple swing java application using ibatis and postgresql. What i am trying to do is persist some user class (id, firstname, surname) to a table. I have managed to do it with 2.x.x version of ibatis but now when i try to use 3.x.x beta i can't seem to get it work. It may be a bug or something i am doing wrong. It seems to me that the error is in my Configuration.xml style sheet (which must be the doctype statement). I am not very experienced with java so tell me if i am posting something inessential.

This is my Configuration.xml

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE configuration
PUBLIC "-// Config 3.0//EN"

    <properties resource="com/erdm/ibatistest/" />
    <environments default="development">
  &nb sp;     <environment id="development">
            <transactionManager type="JDBC" />
            <dataSource type="POOLED">
                <property name="driver" value="${driver}" />
                <property name="url" value="${url}" />
                <property name="username" value="${username}" />
                <property name="password" value="${password}" />
    <m appers>
        <mapper resource="com/erdm/ibatistest/UserMapper.xml" />

And the error i get is as follows

02:27:20,182 INFO  [main] Main  - javax.xml.transform.TransformerFactory=null
02:27:20,182 INFO  [main] Main  - java.endorsed.dirs=C:\Program Files (x86)\Java\jre6\lib\endorsed
02:27:20,182 INFO  [main] Main  - launchFile: D:\erdm\development\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.xsl.jaxp.launching\launch\launch.xml
02:27:20,759 FATAL [main] Main  - getAssociatedStylesheets failed
org.eclipse.wst.xsl.jaxp.debug.invoker.TransformationException: getAssociatedStylesheets failed
    at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(
    at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPS AXProcessorInvoker.transform(
    at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.Main.main(
Caused by: javax.xml.transform.TransformerConfigurationException: getAssociatedStylesheets failed
    at Source)
    at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.transform(
    ... 2 more
Caused by:
    at Source)
    at Source)
    at Source)< br>    at Source)
    at Source)
    at$DTDDriver.dispatch(Unknown Source)
    at$ Source)
    at$ Source)
    at Source)
    at Source)
    at Source)
    at ternal.parsers.XML11Configuration.parse(Unknown Source)
    at Source)
    at Source)
    at Source)
    at$JAXPSAXParser.parse(Unknown Source)
    ... 4 more

Thanks is advance.

What can you do with the new Windows Live? Find out