Spring Tool Suite not responding suddenly - spring-tool-suite

I am using Spring Tool Suite 3.9.0. Till yesterday, my STS was working fine. All of a sudden, when i try to open my STS.exe, it is asking for my workspace location...once I click on "Launch" it gets closed without any error. I tried many times and even tried to remove and re-download STS 3.9.0, still no use. I don't know what is the problem. I searched in the net but nothing helps me. I am using Java 8 and Maven 3.3.9.
Can someone help me?
Thanks in advance.

Related

Spring Tools Suite 4 stops working autocomplete after a while

When I'm using STS (Spring Tools Suite) 4, the autocomplete stops working for no apparent reason, and the only solution I find is to stop all my work, close the STS and reopen again. But this interruption is extremely annoying.
I couldn't find the cause of the problem. It happens randomly sometime after I start working. The autocomplete screen stuck like the image above showing that "1 pending" and it never finishes.
Version: 4.8.1.RELEASE
Build Id: 202010230733
This sounds related to https://github.com/spring-projects/sts4/issues/579, so please follow up on the GitHub issue with more details. Especially a thread dump of the IDE process as well as the language server process would be extremely helpful in debugging the fixing the issue.
As a workaround, you could go to the Preferences -> Java -> Editor -> Content-Assist -> Advanced and disable the Language Server Proposals. That will most likely help to avoid the problem (but also disables some of the Spring Boot related additional content-assist features for the moment) until we fixed the underlying issue.

I having trouble with EJB in netbeans

The time I was practicing a java web project on netbeans, but with EJB error while in the process of running the scheme, but there is no solution on the fix, hope you had similar problems guide me fix on,
Here is an image of the error :
![E:\accpTrading\nbproject\build-impl.xml:307: The module has not been deployed.
See the server log for details.][1]
I tried reinstalling the software as well as JDK & SDK, but still did not fix, refer to various forums, these people are lost, today I'm posting on this forum because a friend recommended. hope you help me. for a week I could not work because of this error.
Thank you all!

Gwt hosted mode stopped working from Eclipse on adding a special dependency via maven

On integrating a library on server side of my gwt app (maven, gwt 2.4) the development/hosted mode stopped working. The app works fine if deployed or run with "gwt:run" and all unit tests and integration tests pass as before.
If i start development mode (run/debug as web application) from Eclipse the develpoment mode view pops up but nothing else happens. normally the console should show some output but console keeps empty. So i don't even have a hint whats going wrong.
Can someone give some advice where to look / what to do to get at least a hint what's wrong?
if i check out the revision before integrating the library the development mode works! - at the moment i add the dependency (only adding not using it) it stops working.
Background about library i added (don't know if my problem relates to this):I had some problem on integrating the library. the library uses eclipse birt charting engine. This engine has a dependency to Apache derby db, this conflicted with another library. i solved this by excluding the derby dependency via maven. the second problem was a "command line too long" error on unit test - this was solved by updating the maven-surefire-plugin.
The Problem was hard but the solution is simple: With Java 7 it is working!
The problem could be reproduced on 2 of 3 machines. The machine without the problem is the only one that uses java 7. So i installed java 7 on my machine and linked eclipse to it - now hosted mode (from eclipse) works again :-).

Cannot deploy my updates to cloudfoundry

I have a simple app running on tomcat (using Postgresql). I deployed it to the Cloud-Foundry using the STS plugin and it runs OK. Recently I've encountered serious compilation problems (related to JS and JQuery) which led me to re install my STS. Now, when I run the app locally it runs perfect but when I use "Update & Restart" nothing happens - my new updates are not deployed! (I'm connected and Start/Stop works). I don't have a clue for how to tackle this. Please help.
Since you have reinstalled your STS, I would suggest you delete your app from Cloud Foundry and deploy your project from STS again. It might be because your project is not being linked with the app you have on cloudfoundry.com
Try that and let us know how it goes.

GlassFish 3.1 Netbeanz 7 and REST web services

I tried to run example here http://download.oracle.com/javaee/6/tutorial/doc/gipzz.html and didnt work... There is a bug at netbeans site but i couldnt understand what they are talking about.
It seems that wadl file isnt created....
However a workaround for this was to use the servlet com.sun.jersey.spi.container.servlet.ServletContainer
and seems to work...
Does anyone knows whats wrong ??
The RESTful stuff in NetBeans and Glassfish definitely works, I use it on a daily basis.
Try following this NetBeans tutorial and see if you get anywhere. I've always found the tutorials on the NetBeans site too be very helpful, and easy to follow.
Just to answer..
The problem was that i did the mistake to use the glassfish version that came with Netbeans. This doesnt work . Installing glassfish seperately did work greatly.