I have installed Eclipse Mars2 and when I try to save changes I got a message saying "Processing JAX-RS changes... (Waiting)" and Eclipse freezes for a couple of minutes. I'm developing a spring-mvc maven based application using jboss as server (I don't know whether this is relevant or not).
In this answer a nullPointer is gotten, but I can't see any errors whatsoever. I can't find the "jax-rs- support" option in my project either.
Any clues?
Thank you very much!
The reason for this problem to exist is unclear. A quick Google for the problem doesn't seem to bring up any existing bug report.
Meanwhile, whatever processing features Eclipse has for JAX-RS are quite superfluous and you can easily do without - especially if you do not actually use JAX-RS in your project. So in this case disabling the builder which you will find in the Project properties does the trick to make the problem go away.
You can uncheck JAX-RS from project->properties->project facets . This helped me
Related
I'm coming from NetBeans and evaluating others and more flexible IDEs supporting more languages (i.e. Python) than just php and related.
I kept an eye on Eclipse that seems to be the best choice; at the time I was not able to find an easy solution to keep the original project on my machine and automatically send / syncronize the files on the remove server via sftp.
All solutions seems to be outdated or stupid (like mounting a smb partition or manually send the file via an ftp client!
I'm not going to believe that an IDE like Eclipse doesn't have a smart solution of what I consider a basic feature of an IDE, so I think I missed something... On Eclipse forums I've seen the same question asked lots of time but without any answer!
Some suggestions about is strongly apreciated otherwise I think the only solution is stick on one IDE each language I use that seem to be incredible on 2018.
I'm developing on MacOS and the most interesting solution (kDevelop) fails on building with MacPorts.
Thank you very much.
RSE is a very poor solution, as you noted it's a one-shot sync and is useless if you want to develop locally and only deploy occasionally. For many years I used the Aptana Studio suite of plugins which included excellent upload/sync tools for individual files or whole projects, let you diff everything against a remote file structure over SFTP when you wanted and exclude whatever you wanted.
Unfortunately, Aptana is no longer supported and causes some major problems in Eclipse Neon and later. Specifically, its editors are completely broken, and they override the native Eclipse editors, opening new windows that are blank with no title. However, it is still by far the best solution for casual SFTP deployment...there is literally nothing else even close. With some work it is possible to install Aptana and get use of its publishing tools while preventing it from destroying the rest of your workspace.
Install Aptana from the marketplace.
Go to Window > Preferences > Install/Update, then click "Uninstall or update".
Uninstall everything to do with Aptana except for Aptana Studio 3 Core and the Aptana SecureFTP Library inside that.
This gets rid of most, but not all of Aptana's editors, and the worst one is the HTML editor which creates a second HTML content type in Eclipse that cannot be removed and causes all kinds of chaos. But there is a workaround.
Exit Eclipse. Go into the eclipse/plugins/ directory and remove all plugins beginning with com.aptana.editor.* EXCEPT FOR THE FOLLOWING which seem to be required:
com.aptana.editor.common.override_1.0.0.1351531287.jar
com.aptana.editor.common_3.0.3.1400201987.jar
com.aptana.editor.diff_3.0.0.1365788962.jar
com.aptana.editor.dtd_3.0.0.1354746625.jar
com.aptana.editor.epl_3.0.0.1398883419.jar
com.aptana.editor.erb_3.0.3.1380237252.jar
com.aptana.editor.findbar_3.0.0.jar
com.aptana.editor.idl_3.0.0.1365788962.jar
com.aptana.editor.text_3.0.0.1339173764.jar
Go back into Eclipse. Right-clicking a project folder should now expose a 'Publish' option that lets you run Aptana's deployment wizard and sync to a remote filesystem over SFTP.
Hope this helps...took me hours of trial and error, but finally everything works. For the record I am using Neon, not Oxygen, so I can't say definitively whether it will work in later versions.
I've been working on adding help to eclipse RCP applications. I've understood how to add the required plugins and my custom help content associated with those.
Now, I want to access that same help content through a different browser (i.e. other than eclipse's inbuilt help system).
e.g. The link http://help.eclipse.org/kepler/index.jsp shows the kind of arrangement I need. It provides the same user interface for Eclipse Help Documentation (as in eclipse's inbuilt help system) even when accessed through a different web browser.
I'm new to eclipse and facing some problems in getting it done. I've tried looking into the following Eclipse Help APIs but I'm not sure on how to use these:
1) org.eclipse.help.ui
2) org.eclipse.help.webapp
Can someone please guide me to a proper approach to accomplish this task. I'm presently working on Eclipse Kepler Service Release 2.
I'm developing a view for an application I'm working on, and I'm using jface with RAP. I thought it wouldn't be difficult but I'm not really making any progresses. I have a sketch of what I need to do, but I can't even start the application. Google doesn't help that much :/
Any tip to help me get started?
I tried developing a minimal working example, but it simply doesn't work. Anytime I start the application, I got this error:
java.lang.IllegalStateException: No context available outside of the
request processing.
I'm pretty sure this is a noob error, but I can't fix this! Any idea on what I might be doing wrong?
The following should be a comment! But I have not enough reps.
There is too little information from you to reproduce the issue but I assume you are mixing up setup options provided by RAP. Read the Building Applications part in the Developer's Guide completely. An outstanding well worked out tutorial can be found here which might help you to understand the differences. Try to create your project with all three setup options (1 RAP with OSGi, 2 RAP with Workbench, 3 RWT Standalone).
Just guessing: In the FAQ is a quite similar error description which might help. No context available outside of the request service lifecycle.
For as long as I've been working on Eclipse plug-ins when I have wanted to read some documentation I have always just googled it. This worked fine up until about a week ago when I started being met with this message:
| Topic not found
The topic that you have requested is not available. The link may be wrong, or you may not have the corresponding product feature installed. This online help only includes documentation for features that are installed.
Today this has tripped me up on the following queries:
http://www.google.co.uk/search?&q=ITreeContentProvider
http://www.google.co.uk/search?&q=IObjectActionDelegate
Sometimes trying different versions of the Eclipse docs works, sometimes it doesn't.
I had assumed this was just a glitch but I'm still noticing this issue, where have the docs gone?
Two suggestions without using Google:
Use the Eclipse documentation directly!
Use Bkekko with my Eclipse slashtag: https://blekko.com/ws/ITreeContentProvider+/timkrueger/eclipse
This issue is now resolved. I contacted the Eclipse web admin but didn't hear back so whether Eclipse fixed the issue or Google figured it out, i'm not sure.
I need some step by step tutorials/documents on developing Java web applications using Eclipse/apache.
appreciate directions/help.
I recommend you read a book instead:
This is probably the simplest way to get started. It really helped me with getting a grasp on how the directory structure and web.xml go together and make a web app. Eclipse is only a partner in your development, you really need to understand the underlying infrastructure no matter what framework you are using, and this book gives you a solid start.
There are some video tutorials available at http://eclipsetutorial.sourceforge.net/
The first tutorial begins with the absolute basics of setting up a workspace and getting started. It also shows the Welcome screen available under the help menu which has links to an overview, samples, and tutorials
As you've already installed Apache Tomcat. I assume you've not installed Java EE tools for Eclipse. If not, then First download Eclipse Java EE tools from Help > Software Updates > Available Software > Java EE developer Tools.
First way : is using Tomcat plugin with eclipse,for that you've to check this tutorial
Second way: If the Tomcat Plugin is not working with you then other alternative as follow Click on Click Window in menu> Preferences then click Server pane. Open Runtime Requirement pane. Add path for the tomcat directory. Click Ok. You're done with the settings.
Now you can create new projects from File >New >Projects. And start building servlets/jsp projects. Try learning from good books like "Head first: Servlets & JSP".
Hope this helps.
When you first start Eclipse there is a screen with tutorials right in the program. They are also accessible from the Help menu
Reminds me of that old joke:
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
Sounds like you have several things that you don't know: Eclipse, Tomcat, Java EE development, maybe JSPs, JSTL, WAR files, the list goes on.
My advice would be to strip things down to the bare bones and decompose the problem a bit.
Start by doing a simple servlet/JSP app talking to a database, without using Eclipse. See if you can compile on the command line, create the WAR file, package it properly, and deploy it on Tomcat.
If you can manage that, then work Eclipse into the mix. Don't worry about running Tomcat inside Eclipse at first. You can go back and forth until the IDE is comfortable.
But you're asking a lot when you say you'd like step by step instructions. You're tackling a very big problem.
DZone REFCARZ might be helpful, there's one for eclipse:
Getting Started with Eclipse