Hi, It seems your unit test is actually an integration test. WicketTester doesn't need an actual web server running. Your test (ot the code being tested) assumes that there is a real application server running and tries to lookup something from JNDI. Can you share the test with us? Paste it in a pastebin service.
Martin Grigorov Freelancer. Available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jul 1, 2015 at 1:37 PM, limaia <[email protected]> wrote: > Thanks for answer me! > > I tried this tutorial. > But when I run as JUnit Test, the eclipse show the following error: > /Need to specify class name in environment or system property, or as an > applet parameter, or in an application resource file: > java.naming.factory.initial./ > > thanks, > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/junit-weblogic-and-ldap-tp4671432p4671439.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
