[jetty-users] error to configure jndi with jetty-maven-plugin

2012-02-28 Thread haipeng du
Hi, I just use jetty-maven-plugin ( version 8.1...). I think I have the right configuration to create jndi datasource. But I got error: Nothing to bind for name javax.sql.DataSource/default. I searched internet and try many ways. But I am not lucky to solve this problem. Could some people help on

Re: [jetty-users] error to configure jndi with jetty-maven-plugin

2012-02-28 Thread Jan Bartel
Haipeng, the config seems fine. Are you positive you're using the correct version of the jetty maven plugin? I notice you don't have a version element in the plugin declaration - do you have a pluginManagement section elsewhere in the project that specifies the version? If not, then please try

Re: [jetty-users] error to configure jndi with jetty-maven-plugin

2012-02-28 Thread haipeng du
I just use latest version for plugin. It loads the 8.1.1.v20120215. I tried to give version specified, and no lucky. I also use -X to output debug information and did not see any error. Thanks. On Tue, Feb 28, 2012 at 5:00 PM, Jan Bartel j...@intalio.com wrote: Haipeng, the config seems fine.