I am developing a java web application. It was running well but today I opened Eclipse and all imported libraries are throwing errors. As if I didn't have those libs.
I didn't modify my project. The only thing different that I've done was to try to generate the JavaDoc. Now I can't even run my server, it gets a CONNECTION REFUSED error.. I need some help, if I try to restore Windows will it work?
I have done another Project, copying the classes from this Project. Add it to my Debug on my server and it`s working. Thank you all for the help
Related
I am trying to run a sample program in spring tool suite. I am not able to run the Pivotal server and am getting the error message shown in the attached image.
Please can someone provide some suggestions to help.
Thanks in advance.
After many weeks of frustration with this I think the answer is even easier than I thought. My workaround was to keep installing a new server every time this happens. Needless to say this clutters my workspace with many servers and wastes time.
Turns out that the darn server folder say Server7 or whatever server you are using in your STS MUST BE OPEN!!! This may seem obvious but as I open and close different projects I am working on I always click on "close unrelated projects". Well this also closes the Server folder on my workspace! I think the problem is just this simple. Now to talk to the STS people to see if we can make the server intelligent enough to auto open the folder when we click start if it is not already open because I do appreciate being able to "close all unrelated projects" often. Hope this saves some people some frustration.
Also double click your server in server view. In the overview page make sure server configuration points to the directory of the server you are using. In my example it would be Server9. You will notice that if this Server folder is closed in package explorer it will not even be an option to choose. This is when the light bulb went off for me why it could not find the server-config file. See illustrated picture for guidance
.
ps. I finally found my Skitch for Linux alternative = Hotshots
UPDATE: to keep the server from closing when I click "close unrelated projects" simply right click the project and choose properties/project references then put a check mark next to the associated server of this project. Then when you click "close unrelated projects" the server will remain open.
This is due to that fact that server project might be closed. Please keep that open before performing deployment.
delete the server and reinstall pivotal server or install tomcat 7.0 or tomcat 8.0. Tomcat is better option as the error logging better and less cache problem
first of all I am sorry on my English.
I have a problem in my Gwt application.
I build Gwt application and I work on application every day
Yesterday I want to still work on my application but is stopped worked and i do not know why and I not get errors
The application compiled and I get the Url to run on browser
I copy the Url to my Firefox browser and not happened nothing.
I put break point in my entry point class and I see the application not arrived to entry point and I do not know why.
I try to open new project to check maybe the problem in eclipse or in Gwt plug in but the new project worked excellent so I understand the problem in specific this project.
I need help
thank you everyone
Okay i have 3 possible suspicions:
You updated your Application, but for some reason some JavaScript stayed inside the Firefox cache. Solution: Go to options and "Clean cache" and always try to press CTRL+F5 instead of just reloading, this will clean the current website's cache saved in your Browser.
Your HDD is full(less likely). You said you work everyday on the app. The caching in dev-mode is very VERY bad(for me it once contained 300GB of cached data). there is a folder called <win_user>/AppData/Local/Temp - delete everything inside if you find a lot of "gwt-<something>" files and check the folder's size. There is nothing valuable inside it(if you didn't place anything inside :D)
P.S. Turns out it was a Firefox Memory-leak that has been fixed in GWT 2.6.0 :)
Your Eclipse messed up some random stuff. As always - Project > Clean...
Then right click on app and let gwt recomile your app(if you have an ant file that uses the gwt-compiler, execute that)
I can't really think of anything else...
The only thing that could be is that YOU changed something, but you said you didn't so...
Hopefully it works,
Laurenz
Good day everyone!
I am a graduating student doing Google App Engine-Java Web Application.
My problem is I need to compile/build it so it will run upon click. I've been trying exporting it to a jar file however it outputs no main class.... problem.
I've been looking for other method but internet fails me or maybe i'm not pointing on the right track.
Here's my output whenever I'm using the command line:
its working fine when i'm using eclipse.
Any leads? Sorry if my question is quite silly.
Thanks in advance :))
Firstly you should definitely consider updating your GAE SDK as it seems the defaultZoneTL field was removed from JDK 1.6 U31. Updating the GAE SDK should avoid that problem.
If you can't do that then check http://code.google.com/p/googleappengine/issues/detail?id=6928 and try to implement one of the workarounds suggested. (Essentially launching with -Dappengine.user.timezone.impl=UTC OR -Dappengine.user.timezone=UTC)
I have started creating small applications in Java using Net-beans, i was trying to make installer file for the application as we do in .Net. I tried many thing and not succeeded. Somebody please help me.
There are no of software out to do it, Check them out
I have some database applications (CRUD), and I want to create a desktop application with some buttons such that clicking on them lead to run those applications. How could I do this?
I have tried adding the CRUD projects as class path for the desktop application, but it didn't work out, with an exception in CRUD's lines indicating a class can not be found or something.
I'm using NetBeans and those database applications were created automatically by NetBeans from my MySQL server.
OK, I found a solution on this although this is not what I wanted, but it's working.
First, I built all the database applications as JAR files.
Next, in the event handler of my buttons I added this line of code in order to execute the JAR file:
Runtime.getRuntime().exec("java.exe -jar CRUDapp1.jar");
So every time I click the button the application runs.
Although this is working fine for me, but it seems not to be the right solution. I rather prefer solutions like adding classpaths or similar, but because of some conflict in the class name, that I don't know where they come from, classpaths didn't work.