I have been doing a webapp (a CRUD interface for a db) and I am using as
guideline the jpetstore, with the exception that:
1. I am also using the mybatis-generator's code.
2. Services. I don't want to have services as a separate part. I want to
use the Mappers directly on the Action bean
3. I have all mappers.xml, mappers.java, example.java and entities.java
(all the generator's code) in one folder (org.lmb97.data)
And I am encountering a NullPointerException when I try to use a mapper. I
checked all I could, but still not getting to the solution. I don't know
which is the problem. Everything has been said... but no idea. I think it
is something with the configuration. I have checked various bugs in the bug
tracker that seemed to be related but none was.
I am attaching apache tomcat's log and the normal log. log4j is configured
in ALL. And the repo is here, I am putting the exact commit, so that if
I work with the repo, you can see the actual state.
The netbeans project is configured so that if you clone it, you have all
libraries included with it, with no external dependencies.
I will be waiting for your reply, and don't hesitate mailing me to ask for