It looks like your client code is referencing server code.
When you compile the client code it gets translated to javascript, and
run in the browser, and because of this there are restrictions to
which code can be translated.
Hope this helps,
Geraldo Lopes de Souza
On 28 jun, 10:30, peter faulk <mikesw...@gmail.com> wrote:
> 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.
This comment has been removed by the author.
ReplyDeleteHello.
ReplyDeleteI'm also new to GWT and MyBatis. Recently I have integrated them. I think this post can help you: link.