Hi List,

I started a new project, where I wanted to get only the CRUD example from the Struts2 Showcase to work (That's the one with Employees and Skills). So I copied all necessary files over to my new project. Deployment of the CRUD application works well (I used Maven to package the war)

However I must obviously have forgotten something, cause I keep getting an error when accessing my application at: http://localhost:8080/hp/employee/list.action

08:09:59,468 INFO [STDOUT] 08:09:59,468 ERROR [[default]] Servlet.service() for servlet default threw exception java.lang.NullPointerException at com.psbase.jboss.action.AbstractCRUDAction.list(AbstractCRUDAction.java:39)
       ..............

--> getDao() is null in AbstractCRUDAction

I believe it has something to do with getting the data from the TestDataProvider. I must admit, I am not sure yet, how it gets the data from the storage. I searched for hours in the configs of the showcase already, with the hope to find something. If someone could point me in the right direction, I'd really appreciate it :-)

Nico


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to