[java ee programming] Re: Netbeans-Servlet-help
Hi Saran, I had the same error, I would change the active GlassFish Server from v3 to v2 . This should easily fix the problem. You can change the Server on right-Click the Project - Properies -Run - Server ->>> Hello I am new to servlets just started pgmi am using netbens 6.5.1 ,while trying the HelloWeb pgm example i am receiving the annoying error. ** init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: In-place deployment at C:\Documents and Settings\Indira\My Documents\NetBeansProjects\MyHelloWeb\build\web deploy?path=C:\Documents and Settings\Indira\My Documents\NetBeansProjects\MyHelloWeb\build\web&name=MyHelloWeb&force=true&properties=keepSessions=true running on GlassFish V3 deploy?path=C:\Documents and Settings\Indira\My Documents\NetBeansProjects\MyHelloWeb\build\web&name=MyHelloWeb&force=true&properties=keepSessions=true failed on GlassFish V3 C:\Documents and Settings\Indira\My Documents\NetBeansProjects\MyHelloWeb\nbproject\build-impl.xml:571: The module has not been deployed. BUILD FAILED (total time: 4 seconds) could anyone help me fix it thank you regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] Re: Problem with Hibernate Lab
I got the same error. If you have imported the suited package for "session", a restart of netbeans could fix the problem. Check another import for session. Am Dienstag, 2. Juni 2009 07:54:12 schrieb mak pandian: > Hello > I got error while running this application is "Session factory can not be > created"" > > How can i solve it? > > On Sat, May 30, 2009 at 2:26 PM, lalit wrote: > > Check if your hibernate.cfg.xml is in the class path. > > Check the sample code at http://oyejava.com/tiki-index.php? > > page=Hibernate+Introduction">Introduction to Hibernate, if this > > works. > > > > On May 26, 9:42 pm, pxk5...@njit.edu wrote: > > > I am having a problem with this line of code in the Main.java file > > > > > > SessionFactory sessions = new Configuration().configure > > > ().buildSessionFactory(); > > > > > > It keeps telling me that Configuration is abstract and cannot be > > > instantiated. Is anyone else experiencing this? How should this > > > problem be resolved? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---
[java ee programming] LAB-4911 HelloSpringDI ->What to do?
Dear all my friends, I don't get the idea of Homework http://www.javapassion.com/handsonlabs/springhelloworld/#Homework for the instruction: Modify HelloWorldMessageProvider class so that its getMessage() method gets a message from the getGreeting() method of the GreetingProvider object. and Modify beans.xml accordingly My question: How to change the HelloWorldMessageProvider. Is it the same way as in the HelloWorldSpringWithDIXMLFile.java file? I don't get it. What about a big hint? Best regards David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---