his error i get when I install and run spring tool suite. how can i fix it? - spring-tool-suite

This error I get when I install and run spring tool suite. how can I fix it?
Plug-in org.springsource.ide.eclipse.commons.gettingstarted was unable to load class
org.springsource.ide.eclipse.commons.gettingstarted.dashboard.WelcomeDashboard.

Related

Issue exporting war with eclipse for weblogic 10.3.6

I am using eclipse to build a web app to be deployed on weblogic 10.3.6.Performing a export as war and depolying the war on weblogic fails at a point where I am performing a file move opertation using java.nio.file.Files.move method.
The error I receive is following :-
java.nio.file.NoSuchFileException: /export/home/tppp3/asdsslon/infiles/Wert_Frameon_20160514.csv
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:403)
However this is not reported when I perform a deployment to weblogic using eclipse available option Run as-> Run on Server .
I am noticing Using above method, generates a _wl_cls_gen.jar with source code files compiled and package as class.
Any help will be appreciated.
I am looking for option to either generate _wl_cls_gen.jar for war export or find a option to make the move operation work. The same war works flawlessly on Tomcat.
Thanks

Run ATG application in Eclipse

I was able to create an ATG project under Eclipse (using the wizard New ATG Application Moduke) but now I am not being able to run it on browser.
When I right-click on index.jsp file I have no option to "Run on server".
What I am missing or doing wrong?
Thanks
I don't know if it possible because when you want to build and deploy ATG application you need to run assembling process that is defined in ATG tool (doc). Probably you can only run ant/maven task that will do the deployment nothing more.
Other option is to use JRebel which can update you java classes and jsp files on the fly without restarting the server.
If you have a bat or shell script which run your app, you can apply approach from there https://stackoverflow.com/a/18729743/5049232

Code Coverage in Web Applications (Wicket)

I am using Apache Wicket as my web application framework in Eclipse.
Currently I have eCobertura as an eclipse plugin installed.
But it needs a main() method to run. I do not have one.
So how can I run code coverage within a web application?
Regards...
Or you can try out EclEmma, it is available in the Eclipse Marketplace and is really easy to use. It gives you a right click option on your project, package or file: "Coverage -> JUnit test".
I use it with Wicket and you don't need any running server or such to run the tests.

Spring installation with Eclipse

I have downloaded and installed Spring STS for Eclipse...
But when I've Created a Spring Project I can't to
import org.springframework.context.ApplicationContext;
So I tried to add library like spring.jar but I couldn't find this jar.(properties-->java build path-->libraries)
What's wrong with this setting? Or my installation is not ended?
Spring STS is only a Eclipse plugin which helps the developer managing spring beans. It is not mandatory for developing a spring-based application.
So your second approach was the right one to add the spring library. You can download spring here: Spring Downloads and then add it as a library to your project.
But serious... I would encourage you to do a tutorial first: http://www.springsource.org/tutorials
Plugins does not includes library of spring.
Plugin is only to manage the reference of configuration in your project build in eclipse.
Libraries are actual jar file which is required at compile as well as run time.
If you skip the plugin installation then your code will work if your configuration is correct
But if you skip spring library installation or download then your code will not compile of run.
Please go through step by step tutorial by following these tutorial
Spring Step By Step Tutorial

WebLogic throws java.lang.ClassNotFoundException when I compile and deploy a change in my eclipse maven project

I just started using Maven with eclipse and deployed my application to WebLogic.
When I do a clean install for the first time, my Maven project builds and deploys successfully.
After that, when I make any change to the source code or jsps, I do a pre-clean install to update the project. Now, everytime I do pre-clean install and restart WebLogic I get the following exception:
java.lang.ClassNotFoundException:
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
I did some researches and for some reasons, No one complained about that error before.
Any suggestion what can be the problem ?
This only occurs after I make a change and run "pre-clean install" from within eclipse.
When I do a clean install for the first time, my maven project builds and deploy successfully.
How is it deployed exactly? Do you use WTP and the Weblogic adapter? Do you use m2eclipse?
after that, when I make any change to the source code or jsps.. I do a pre-clean install to update the project.
Why do you run pre-clean? Do you have anything special bound to pre-clean (there is nothing bound to this phase by default). What is the expected result?
Now, everytime I do pre-clean install and restart weblogic I get the following exception:
What is FeatureForm, it it yours? Could this be something you removed that is still referenced by a temporary file generated by WebLogic (e.g. a Servlet generated for a JSP). Does the problem happen with this class only? Did you try to remove the work dir of WebLogic?
Any suggestion what can be the problem?
I'm not sure I'll be able to answer this question but you need to provide more details about your context and the way you use tools.