Tagged Questions
0
votes
0answers
2 views
Error while deploying Uberfire webapp
I am using Jboss 7.1 to deploy the uberfire webapp project. To start with using Uberfire. I am able to build the war using the uberfire showcase source code, while trying to deploy the same on jboss ...
0
votes
0answers
10 views
Installing Maven Plugins
I have an instruction manual with just the following picture.
I figured it required the following plugin after searching which is a maven plugin. I have already installed maven
...
0
votes
2answers
14 views
Android simple WebView crash
I'm creating a simple application right now and I add a webview on the bottom of screen.
The webview is on first page, so when I run the application the webview run.
But I got an error.
I just use a ...
0
votes
0answers
24 views
Read XML file from containing JAR
I am trying to read an XML file from inside of my JAR.
My folder structure is like this:
[root]
src (source folder)
[my java files]
res (source folder)
xml
...
0
votes
1answer
26 views
Source of project errors in Eclipse IDE
Very often, it is the case that there is a compilation error in a project, yet I can't really find the source of the error.
For instance:
This web project has an error, yet it's basically my guess ...
0
votes
2answers
23 views
Eclipse auto-generates wrong type of JavaDoc template for getters and setters
I have configured a customized template for getter and setter JavaDocs in Eclipse's code templates. However, it's only used when I use the "generate getters and setters" dialog (which creates the ...
0
votes
0answers
10 views
Can not enable WIFI connection when working with the eclipse AVD
I'm a newbie to android development and try to programmatically enable my wifi network on the emulator. And my code is in below.
import android.support.v7.app.ActionBarActivity;
import ...
-1
votes
0answers
11 views
Daynamic Button set in android
https://play.google.com/store/apps/details?id=com.june.guesstheceleb&hl=en
I want to develop like this apps.
I am working on it.
enter code here
public class MainActivity extends Activity {
...
0
votes
0answers
10 views
Ant (build.xml) equivalent to Eclipse's Build Path->Export?
I have an Android test project using Espresso that I am attempting to build with Ant. I can build the test application just fine. Install it to the device and everything. The problem is, whenever I ...
1
vote
1answer
24 views
Deleting superclass methods and removing all overriding methods
I initially created an abstract method in a superclass that is overridden in all subclasses. Now, I no longer want that method to be abstract, and I don't want the subclasses to override it. Is there ...
0
votes
1answer
17 views
Is creating an @string resource convention in Eclipse?
I'm new to eclipse and java in general (been teaching myself for the last year) and I found out pretty early on that I didn't have to create a string resource when putting text on views and things in ...
0
votes
1answer
20 views
connecting to SQLserver in eclipse
I'm having a problem connecting to an SQLserver in Java using Eclipse. I have used SQLjdbc4 but yet there's problem.
I have no idea what is wrong with my code, but it just doesn't work. I've searched ...
0
votes
0answers
15 views
Eclipse Timeout Exception
During debugging and stepping through my application I get the following exception. Not always on the same line and/or time, but frequently:
org.eclipse.jdi.TimeoutException: Timeout occurred while ...
0
votes
0answers
23 views
Eclipse: Project cannot reference itself
I am not able to add Dynamic Web Module 3.0 facet due to this error. No idea what is wrong with my project settings. This is a duplicate question but accepted answer provides a url as solution which ...
-1
votes
0answers
11 views
Hadoop: Set up and run Hadoop environment from source code? [on hold]
Im looking to make changes to the Hadoop source code.
I have downloaded the code, built it for eclipse using mvn and imported all the projects in to eclipse where I have them building without any ...
0
votes
0answers
13 views
AWS Java SDK not working on Eclipse IDE
I installed the AWS Toolkit in Eclipse on Windows. Everything works except for the "Start New Java Project". When I select this option, nothing happens. The New AWS JAva Project does open the first ...
2
votes
1answer
22 views
Unable to shade jar with maven (INVOKESPECIAL/STATIC)
The full error message:
Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.3:shade (default) on project --: Error creating shaded jar: INVOKESPECIAL/STATIC on interfaces require ...
0
votes
1answer
9 views
Exception org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class
I have been struggling with this error for quite few days.
I have a maven based project in eclipse. I am trying to deploy the application in Tomcat.
My versions are :
Java : JDK 1.7.0_55
Eclipse : ...
0
votes
1answer
26 views
How to set a variable equal to null in debug mode within eclipse
Trying to debug a NPE from a remote machine on eclipse, I cannot recreate the test case so wish to set the variable equal to null during runtime within the debug variables however. I am only given two ...
0
votes
0answers
9 views
JBoss standard output does not show up in Eclipse Console view
Using Spring Tool Suite, I recently switched servers to JBoss EAP 6.1. Now, my standard output does show up in the console. I've searched for some JBoss configuration changes, but haven't found any ...
0
votes
1answer
9 views
How to group columns header in Table Grid with SWT, in Eclipse RCP
I have a Table widget in a view, and I'm adding columns.
But I need to group headers. I want to have one title, for several columns.
I search a solution on web, but uses method that SWT seems to not ...
0
votes
1answer
8 views
Java Web Start Eclipse from Java Application
I created a Java GUI Application: it's ok!
Now I want to create a JNLP from my project with Eclipse: is it possible? How?
I try the "Java Web Start Plugin" but I can't install it (Eclipse say "don't ...
1
vote
1answer
23 views
No Java Virtual machine was found error in Eclipse HELIOS\jre\bin\javaw.exe
Got the below Error messages when i try to open the Eclipse.
"A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java Virtual machine was ...
0
votes
0answers
17 views
Validating Maven pom.xml when boolean is a property
If I have a pom.xml like
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ...
-2
votes
1answer
20 views
How to deploy the war file generated by maven on tomcat using eclipse?
I have got a war file generated using Maven and it works perfectly fine when i manually deploy it on the tomcat server.
However, the war file was generated using Maven on eclipse and when i try ...
0
votes
1answer
7 views
Automatic build of GAE maven project from eclipse
I have a google app engine project with java using maven, and every time I want to see the changes I made even to a simple jsp or html, I have to run clean install then run the server. I want to know ...
0
votes
1answer
15 views
Eclipse does not copy correct jar to server deployment folder with classifier
I'm using latest Eclipse (Kepler, build: 20140224-0627) and a simple jar project. One jar have classifier and another not - like
project1-SNAPSHOT0.1.jar
and project1-SNAPSHOT0.1-no-cdi.jar.
...
0
votes
1answer
19 views
How to run a java program using apache ant and eclipse in windows 64 bit OS?
Problem in running apache ant using java in eclipse on windows.
Can anyone suggest me how can I run an ant using eclipse in windows 64 bit operating system.
I found that there is no apache ant ...
0
votes
0answers
5 views
Java Web Start Plugin for Eclipse: how to install?
I download the "Java Web Start Plugin for Eclipse" from Sourceforge: it's WS4E.zip.
In Eclipse I click on Help > Install New Software > Add > Local and select the zip file.
Eclipse say: "Could not ...
0
votes
1answer
26 views
Eclipse and JSP typing speed
I have read here about eclipse standard JSP validation plugin having performance issues, but I could not find a working solution. I've unticked all relevant options for my project and even restarted ...
0
votes
0answers
10 views
Project doesn't create pom file though I'm setting maven as project nature
I'm trying to create a java maven project programmatically.
I'm setting natures as maven.
Code :
IProjectDescription description = project.getDescription();
description.setNatureIds(new ...
0
votes
2answers
20 views
Eclipse returned error message “Java was started but returned exit code= 1” [duplicate]
Ok, so I had tried to install a new jdk / jre and suddenly my eclipse will not open. I have tried uninstalling old forms of java and reinstalling the java that I need, and it refuses to open. I've ...
0
votes
0answers
14 views
Generating classes in eclipse Maven project
I have an existing project and I have imported it to a maven project in Eclipse Juno.
The classes are to be generated into the folder target->classes by default settings
But i see the java files in ...
0
votes
0answers
5 views
“Target runtime local glassfish server not found” on eclipse project
I've imported an eclipse project into, well my new eclipse installation and after loading it I got this eerie-looking red X over my project:
Which of course means there's something wrong with my ...
-3
votes
2answers
35 views
Why Eclipse generate toString includes only non-static fields?
I want to use in myEclipse 10.1 (probably same issue in eclipse)
Source-> generate toString to build toString method automatically.
However there is no variables which has static identifier in ...
0
votes
2answers
17 views
Eclipse : The import org.apache cannot be resolved
I have a problem to compile a project with import of apache.
Here is the error :
And here is my import :
0
votes
0answers
61 views
Why some of the List methods are not recognized by eclipse
As shown in the code below, when using mFragList.addthe method add is getting marked by red squiggle. why although I have another project uses the same method to add fragments but eclipse recognizes ...
0
votes
1answer
34 views
Cannot edit Android Manifest file in Eclipse
I am using Eclipse with the Android plugin. I am trying to change some attributes in my manifest file for an android app. I open it from package explorer and then it opens, but I cannot edit any of ...
0
votes
2answers
33 views
How to run a modified java program in eclipse?
I have a project in Java which get a file using smb client. When I edit this code and run it again in Eclipse, it is not running my modified code but running the same old one.
Checklist:
I saved ...
1
vote
2answers
15 views
Debugging solr 4.6 source. Getting ClassNotFoundException : java.lang.ClassNotFoundException: solr.WhitespaceTokenizerFactory
I am trying to debug solr4.6 source code with eclipse and tomcat. I am getting the error message :
HTTP Status 500 - {msg=SolrCore 'collection1' is not available due to init failure: Plugin init ...
-2
votes
1answer
27 views
Tomcat 7.0 unable to start?
When I start Tomcat v7.0 Server from Servers tab in Eclipse, a problem occurred message box appears saying:
Starting Tomcat v7.0 Server at localhost has encountered a problem.
Server Tomcat ...
0
votes
1answer
32 views
SuppressWarnings in jsp file
How do you suppress warnings (or even errors) in a jsp fragment file in Eclipse?
I have this jspf that I include in the middle of the jsp file, but that jspf relies on a variable further up in the ...
0
votes
0answers
4 views
Samsung Remote Test Lab (RTL) : how to bind the device to Eclipse / debugger
I use Samsung Remote Test Lab (RTL) to test my app on real devices. I perfectly manage to launch the web app and see the device but...I don't see the device in Eclipse.
Consequently: I can't debug ...
-4
votes
5answers
44 views
Java error in eclipse
Whenever I run this code:
package jmv;
public class euler3 {
int x=0;
public static void main(String[] args) {
for (int x=0 ; x < 6008 ; x++){
if(6008 % x == 0){
...
0
votes
2answers
26 views
Why the OnItemClick close the drawer
I dont understand why when I click in item of the drawerlist, the drawer just close and doesnt do anything. I think the DrawerItemClickListener it's not working correctly... Could you help me? I'm new ...
0
votes
1answer
9 views
How to specify com.google.gwt.dev.DevMode as the main class automatically when debug gwt code
when I debug my gwt application code using google eclipse plugin via
selected gwt module->debug as->web application,
the generated debug configuration always use com.google.gwt.dev.GWTShell as the ...
0
votes
2answers
30 views
hardware requirements for eclipse and tomcat
i'm a sysad by trade, but recently i've been playing around with Java development, particularly web/servlets, just so that i can understand half of what our developers keep babbling on about :D i ...
1
vote
2answers
27 views
JDBC program to pull from database
So I have fully programmed a JDBC file which pulls from a MySQL database. Now I would like to use my file for a "2008 SQL SERVER R2". For my JDBC program I currently have it set up as:
public class ...
0
votes
0answers
14 views
Google App Engine's SDK compiles JSPs to class format 52.0, too high for server
I'm facing a problem where Eclipse and the App Engine SDK are building JSPs with class format 52.0, which subsequently fails to deploy as the server only accepts java 1.7 classes.
I've seen a bunch ...
0
votes
1answer
24 views
WebView = Web page not available
I am trying to use webView to display an HTML file that is on the device and not the internet. I have my html files in the /Download folder. When I launch the application I get the following error:
...