Error adding Derby nature in eclipse - java

Using:
java se 1.7
2.Eclipse kepler
3.Derby plugins:
derby_core_plugin 10.2.2.0
derby_ui_plugin 1.0.0
Problem faced:
I installed these plugins and extracted in my plugins folder of the eclipse.Then I right clicked on my file and clicked on Apache Derby->"Add derby nature".It then shows the following error:
Apache Derby Ui Plug-in Error adding Derby jars to the project:
org.eclipse.ui.internal.WorkbenchWindow cannot be cast to
org.eclipse.jface.window.ApplicationWindow
Any idea?
What can I do to resolve this issue?

The Derby Eclipse plugins are extremely old and don't work with Eclipse 4.x versions of Eclipse.

Related

Having problems installing Glassfish Tools (1.0.1) through Eclipse (2019-12)

I'm having troubles getting glassfish tools to install on my machine with fresh installs of the Eclipse IDE (2019-12), jdk 1.8.0_241, glassfish (5.1 Full Profile), and glassfish tools (1.0.1).
To recreate my problem, here's what I did:
Install Eclipse with the "Eclipse IDE for Enterprise Java Developers" flavor selected into a folder.
In that same folder, download and then extract the glassfish zip to that same folder.
Open eclipse and use the help menu to install software.
Putting the repository link for glassfish tools (https://download.eclipse.org/glassfish-tools/1.0.1/repository/) into the work with and installing both.
The error I get is:
Software being installed: GlassFish Tools 1.0.1.201904090220 (org.eclipse.glassfish.tools.feature.group 1.0.1.201904090220)
Missing requirement: GlassFish Tools 1.0.1.201904090220 (org.eclipse.glassfish.tools.feature.group 1.0.1.201904090220) requires 'org.eclipse.equinox.p2.iu; org.eclipse.sapphire.feature.group [9.1.0,10.0.0)' but it could not be found.
I honestly can't think of the first step to try and fix this error, as all the googling about equinox.p2 and sapphire makes it out to be that they should be installed by default.
Add https://download.eclipse.org/sapphire/9.1.1/repository/ to your list of Available Update Sites and try it again. The downloadable repository contains only the artifacts built from the Glassfish Tools project.

Maven project couldn't created(Web application) in Netbeans 8.2 JDK8u231

I tried to create one project on Netbeans. I tried in my personal laptop so Netbeans was fresh install. after installation I opened the IDE and Tried to create new project NewProject->Maven->WebApplication but it shows one error that cmd command failed. the build wasn't even started.is there anything to do with maven in netbeans tools->java->maven.
Netbeans 8.2
JDK 8u231
This image contain the error
Why don't you use newer NetBeans version? Newest version is NetBeans 11.2: https://netbeans.apache.org/ NetBeans IDE 8.2 was released on 3 October 2016!
I've got a similar problem, but an error, I've got some weird characters.
I have a new version of Maven 3.6.0, so I've changed it to "bundled" in option->Java->Maven then Netbeans took his own version (3.0.5) and problem was resolved. Hope it would help maven version

Eclipse Neon for Eclipse Committers can't resolve org.eclipse

I recently upgraded to Eclipse Neon. I had a plugin project that built fine in Eclipse Luna, but now in neon, everywhere that I imported "org.eclipse."something I get an error:
The import org.eclipse cannot be resolved.
The plugin.xml has errors etc.
The Project build path has "Plugin Dependencies" on the build path.
My version of Eclipse is
Eclipse IDE for Eclipse Committers
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
I'm running on MacOSX High Sierra.
It's probably something very simple.
I have a similar problem every time I upgrade my eclipse installation.
For me the problem can be solved by adjusting the Target platform (can be found in the settings - just search for it) to match the currently running one. For that in most cases I simply add a target platform with default configuration and set that one active.
After a rebuild (normally performed automatically) all those errors are gone.

Vaadin 6.8.4 project cannot be started with Eclipse Juno J2EE preview jetty server - no context

When I try to publish a Vaadin 6.8.4 project on the "J2EE Preview" server in Eclipse Juno, I get the following error message:
Error 404 - Not Found
No context on this server matched or handled this request.
Contexts known to this server are:
- myproject(/myproject)
When I look into my workspace's folder .metdata.plugins/org.eclipse.wst.server.core/there is only a publish0.dat file in the folder publish but the project is in the folder tmp0, is that normal? If not, what can I do to resolve this?
I use a freshly installed Java EE Version of Eclipse Juno with the Vaadin 6.8.4 plugin from the Eclipse Marketplace.
I was getting the same error for a simple dynamic website and cleaning and republishing the project didn't changed any thing so I installed tomcat and project started working.
It seems like a bug or problem with the deployment structure as default folder structure for jetty is different.
*I was using the latest eclipse Juno and also tried to update it to latest repo but nothing changed

Unable to install Google App Engine Plugin (Eclipse 3.6)

I've followed these instructions but I'm unable to install the GAE plugin on Eclipse 3.6 Helios.
Any ideas what could be wrong and how to fix it?
This is a clean install of Eclipse, the only added features are the Eclipse Web Developer Tools per instructions.
This is on Windows XP.
Don't make it more complex than needed. Use the PlugIn: GAE Plugin Instructions
I fixed it by installing Eclipse for Java EE Developers
The version for different types of eclipse is different for Google App Engine Plugin. Try to use different version of plugin as required by your eclipse . I Have used http://dl.google.com/eclipse/plugin/3.4 for my Hellios Version eclipse and it is working file after installation . Do not forgot to researt your eclipse in clean mode after installation of plugin.

Categories

Resources