Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » The string value does not changed(Eclipse problem)
The string value does not changed [message #793602] Wed, 08 February 2012 10:37 Go to next message
Peter Hon is currently offline Peter HonFriend
Messages: 8
Registered: July 2009
Junior Member
Dear all,

I have a java file which has a string value:

String sql ="select * from test";

return sql;

I have change it to:

String sql ="select distinct * from test";

return sql;

However , I found after the change, it still return the old sql string :

"select * from test";

Eclipse seems have problem that it cannot load the new variable. I have tried to clean the project. But it does not work. I am using Apache Tomcat 5.5. What happened to Eclipse and what can I do to let it recognize the new variable that is changed. Thanks.
Re: The string value does not changed [message #794753 is a reply to message #793602] Thu, 09 February 2012 17:02 Go to previous message
Nick Clevery is currently offline Nick CleveryFriend
Messages: 50
Registered: January 2012
Member
Did you select the "Build Automatically" feature? Looks like Eclipse does not rebuild the code after changes.
Previous Topic:Thinking in Java Book problems
Next Topic:Conflict dependencies upgrading Eclipse
Goto Forum:
  


Current Time: Sat Jun 12 20:50:03 GMT 2021

Powered by FUDForum. Page generated in 0.03963 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top