- This topic has 8 replies, 2 voices, and was last updated 18 years, 9 months ago by
Ghazalawahid.
-
AuthorPosts
-
GhazalawahidMemberHi,
I am working on a web project,problem is :
– if i am making changes in java files,class files are not being updated.
– if i am adding new java files in src folder ,the class files are not being generated in (WEB_INF/classes) folder.
it was working fine in the begining e.g class files were being generated and updated but now no updation or creation of class files.What could be the reason?
October 7, 2006 at 2:17 pm #260039
support-snjezaMemberGhazalawahid ,
You should check if :
– WEB_INF/classes is output folder for your project.
– the action ‘Project-Build Automatically’ is selected
– the application server has been started in debug mode.Regards,
SnjezaOctober 7, 2006 at 11:32 pm #260047
GhazalawahidMember– Build automatically is checked.
– Source output folder was “/WebRoot/WEB-INF/lib” I have changed it to /WebRoot/WEB-INF/classes
– How can i start an application server in Debug mode ?
October 8, 2006 at 7:37 am #260048
support-snjezaMemberGhazalawahid,
– Windows-Preferences-MyEclipse-Application Servers-<your server>-Launch and check ‘Debug mode’
or
– right-click the Server node in the Servers view and choose ‘Debug server’.
Snjeza
October 10, 2006 at 11:24 am #260127
GhazalawahidMemberI started JBOSS in debug mode, as soon as it starts,its gives following error :
Thread [main](Suspended(exception ClassNotFoundException))
ClassLoader.findBootstrapClass(String) line : not available(native method)
……………..
so on,When i start server in run mode it does not give any error.
October 10, 2006 at 3:59 pm #260149
support-snjezaMemberGhazalawahid ,
What version of JBoss and JDK do you use?
Snjeza
October 11, 2006 at 11:01 am #260266
GhazalawahidMemberHi,
– I am using Jboss-3.2.5
– and, j2sdk1.4.1
October 11, 2006 at 3:35 pm #260284
support-snjezaMemberGhazalawahid ,
It is possible that you have a breakpoint problem.
If you have set some breakpoints in your workspace, switch to debug perspective, remove all breakpoints and start JBoss in debug mode.PS
My advice is to switch over to JDK >=1.4.2 because ‘hot code replace’ has been enhanced in the newer versions.Snjeza
October 12, 2006 at 1:02 pm #260332
GhazalawahidMemberHi,
Thanks for all your help. I have not set any breakpoints in my workspace,so what i did is that I cretaed a new web project and copy all my code ,it took time but it is working (class files are being generated) .I don’t know what was wrong.So if i have any problem in future,I might come back to the forum.
Thanks again.
-
AuthorPosts