Tuesday, June 28, 2011

Working with GWT 2.3 and MyBatis

I am new to using GWT, and I am trying to get some simple persistence
going using MyBatis. Under the server folder/directory, I have a
connection factory source file that simply reads from a
configuration.xml in order to create a MyBatis SqlSessionFactory
object. In my project .gwt.xml, I path set for for both server and
client. I have both the mybatis-3.0.5.jar and the mybatis-3.0.5-
sources.jar in my classpath and in the WEB-INF\lib directory. When
run the GWT Compile Project, I see the following errors in my
ConnectionFactory.java:

org.apache.ibatis.io.Resources cannot be resolved
org.apache.ibatis.session.SqlSessionFactory cannot be resolved

It is clear that the jar file is not being recognized or picked up
during compilation.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment