0
votes
0answers
5 views
Restful WebService using Jersey transform xml to json format
Hi I have written the simple "hello" message below in xml format and it works, my question is how can I transform the xml "hello" message below in Json format, what sort of changes should I enter?
...
0
votes
0answers
32 views
Got a warning when i was creating a runnable jar file
I got a warning when I was exporting a runable .JAR file in eclipse.
"This operation repacks referenced libraries. Please review the
licence associated with the libraries you wish to reference ...
0
votes
1answer
42 views
JSP cannot be resolved to a type
<%@ page import ="java.util.*" %>
<%@ page import ="book.*" %>
ArrayList movies = (ArrayList) request.getAttribute("movieinfo");
if(movies!=null){
for(int ...
0
votes
1answer
26 views
How to make an eclipse template that automaticlly assign ctors parameters to class members?
When i use an undefined constructor eclipse suggest this helpful assistment:
but how would i change eclipse configuration so that the templates of adding a ctor would create a constructor and auto ...
2
votes
1answer
28 views
Setting up sqlite with java (import org.sqlite.SQLite cannot be resolved)
I'm getting the error
The import org.sqlite cannot be resolved.
This is my first time setting up sqlite with java in eclipse. I did add the sqlite.jar file by right clicking the ...
0
votes
0answers
11 views
Problems understanding NsdChat sample app
I'm not sure I understand how this android sample works (NsdChat found in developer.android Tutorials).
My first idea was to run 2 istances of the App (with 2 instances of Eclipse on the same ...
0
votes
1answer
33 views
How to remove an Eclipse project from a Working Set?
I had to shutdown Eclipse ungracefully (killing the pid itself) and when I restarted it, all of my projects now show up in Package Explorer as belonging to a Working Set called Other Projects. I'm ...
0
votes
3answers
31 views
How do I import project by creating another project and then pasting it over it?
So I'm having some problems with importing an existing project, everytime I import it and try to run it, the app crashes. I already did my research and people say that it usually helps to create a new ...
1
vote
2answers
23 views
Delete an empty Java package from SVN repository
I'm running Eclipse 3.7.2 with Subversion 1.8.6. I have a package which I don't need any more so I deleted the package in the Package Explorer and committed the /src folder however got an error about ...
-4
votes
3answers
53 views
How i could save an array[] to an array[][] with two dimensional
I had create an Array[] and i would like to save it in firsti column! So i had wrote this code:
String[][] SundaySounds = {{"0","0"}};
String[] SundayArray = {"0"};
........
for (int ...
0
votes
4answers
66 views
How to exit an android app using code?
I am sure this question has been asked number of times because I read few. My client wants me to put a button into his app where users can click and exit. I have read this and found calling finish() ...
0
votes
1answer
12 views
Accessing Excel Sheets in Java using Apache POI with Eclipse IDE
Am a new bee for Apache Poi and Eclipse IDE.. I am in need to work with Excel files where i have to generate a new spread sheets and need to read all the contents of the Excel sheet. so I have stated ...
-2
votes
2answers
24 views
Create a new menu item in eclipse UI
I have a need to create a new dropdown menu visible in the eclipse UI beside the numerous items that already exist in the eclipse menu i.e starting from new to save command to debug items etc . ( The ...
0
votes
1answer
18 views
What eclipse API should I use to access the dom tree of a jsp file?
I would like to have programmatic access to the dom tree of jsp files within the eclipse workspace. What eclipse API should I use therefore?
The bundle org.eclipse.jst.jsp.core contains a ...
2
votes
1answer
19 views
find an error in installation of phonegap plugin in eclipse
I am a beginner in phonegap.
I want to install it in eclipse but I always get error message: I use Windows 7, Eclipse Kepler, the latest version of the Android SDK, the latest version of ADT and ...
-1
votes
1answer
42 views
ActionListener of a button is performing with error [on hold]
I am a beginner.I created a frame and in that JFrame(namely frame1) I have a JButton.In that JButton's actionlistener I have defined another JFrame(namely frame2).While clicking that button for the ...
1
vote
1answer
22 views
Deploying a runnable jar in ECLIPSE by considering dependencies
I have a problem with deploying a JAVA project into a runnable jar file. My project consists of two classes, namely “JFrame” and “Sudoku”. The “JFrame” is a GUI which has a button invoking the main ...
1
vote
2answers
32 views
Using sqlite database and it force closes
Class used to create database:
import android.app.Activity;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
public class sqlite extends Activity {
public void ...
-1
votes
0answers
25 views
Ubuntu: changing openjdk-6 to openjdk-7 caused my system unsolved error, solution? [on hold]
I would really appreciate some help for this unsolved problem that I've been trying to solve for 2 months.
I installed eclipse and also openjdk-7(java6) to let eclipse to use it instead of ...
0
votes
1answer
13 views
library compilation error for TESS4J ( tesseract ) with eclipse
I get this error when i try to compile the example code that is given by tess4j developpers
i did all they asked i followed the steps in this thread trying to use tess4j for the first time with ...
0
votes
1answer
30 views
R.Java not generating on any android project, even if it's new
R.Java not generating on any android project, even if it's new. "R cannot be resolved to a variable"
I re-installed Eclipse, I created new projects. No matter what I do, it ALWAYS happens.
They are ...
1
vote
1answer
58 views
Why does Eclipse say that “errors exist” but shows nothing in console?
I am using Eclipse to build a program and when I go to run it, it says that "errors exist", I run it anyway, there are no errors showing up in the console and the application runs a blank screen. Why ...
6
votes
2answers
112 views
Why isn't a conversion to “GenericType<?>” allowed here?
This code causes a compile error with javac (but, notably, not with Eclipse 4.2.2!):
public interface Foo<T> {
}
class Bar<T> implements Foo<Iterable<T>> {
}
class Test {
...
0
votes
1answer
27 views
I keep getting the error “Node<E> is not generic; it cannot be parametized with arguments E” and “front cannot be resolved”
I'm making a linked implementation of a queue in Java. The problem is, it only displays the errors when I place it in a package (I'm using the default package) along with the other .java files needed ...
1
vote
2answers
39 views
Android .R not generating - checked all common causes
After getting a new computer and setting up eclipse again, no projects are generating the .R file. The SDK is on revision 22 which I noticed some people had issues with, but setting the Private ...
0
votes
2answers
42 views
Eclipse juno Build error with hello world project
I am very new to android programming. and started recently using Eclipse Juno with Win7 and I think its the latest release I have. downloaded Android SDK also.with all the updates and packages.
Now, ...
0
votes
1answer
11 views
Open ArgoUML in Eclipse to Development
I need extract metrics (CK Suit NOC, WMC, DIT, CBO e LCOM) from ArgoUML. My first option is http://metrics.sourceforge.net/. But, when I'm building ArgoUML Project, some problems occur.
Perhaps I've ...
-1
votes
0answers
38 views
Can't start service
I am trying to start a service that opens up a class from a different library.
Intent service = new Intent(Service.THE_SERVICE);//THE_SERVICE is "com.dd.MyService.SERVICE" which is in my Manifest
...
2
votes
1answer
34 views
Quick casting shortcut in eclipse
Is there a fast way to cast an object/primitive to other objects/primitives in eclipse. I am looking for something like a quick try/catch block: You select the block and press Ctrl + Alt + Z to ...
2
votes
0answers
60 views
Imported project throws java.lang.ClassNotFoundException
So I imported an existing project to eclipse and I have a lot of trouble making it work. The project came with three other library projects:
google_play_services-lib
CaptureActivity
PortraitQR
As ...
0
votes
1answer
15 views
Eclipse juno won't hit breakpoints in GWT server side code running in tomcat
I'm running Vogella's tutorial on GWT (http://www.vogella.com/articles/GWT/article.html) and my Eclipse Juno installation on OSX is not able to hit a breakpoint in the server-side service module ...
0
votes
0answers
12 views
Eclipse plugin : Extending CDT
Here is the thing: I am about to write an Eclipse plugin to debug a microcontoller that is connected to a server (not so important at the moment).
After a lot of reading I found out, that the ...
0
votes
2answers
35 views
Any way to automate Eclipse workspace setup?
I recently started setting up a new Eclipse Workspace for a new project I am working on. It requires checking out from a variety of CVS repositories, including setting up a lot of external jars, ...
4
votes
1answer
53 views
Eclipse QuickFix for multiple problems
In Eclipse there is the option to quick fix problems by clicking on one of them, and selecting QuickFix.
It now happens that I have over one hundred entries with the same problem.
'<>' ...
0
votes
0answers
30 views
Eclipse organize folders without using packages
When designing stand-alone application it was customary of me to just use packages to differentiate between what types of classes should be where. This helped in finding classes and organizing enums ...
-3
votes
0answers
14 views
Need help connecting to a Java SocketServer on an Android Emulator from an android device
I'm trying to connect to a Java ServerSocket started in the Android Emulator in eclipse with my physical android device.
This is the server code
try {
System.out.println("Starting ...
0
votes
0answers
19 views
Exporting dynamic java web application to PDF?
I am completing an application using the ZK framework which runs under tomcat 7.0. It is basically a custom calculator which provides end users with total costs of items based on an input amount.
...
0
votes
1answer
18 views
Eclipse plugin development: unknown extension point
I want to use the CDT-plugin nature for my project.
<extension
id="project.mycnature"
point="org.eclipse.cdt.core.cnature">
<runtime>
<run
...
0
votes
0answers
26 views
Should I provide links to documentation for Java classes and methods, in my project javadoc documentation? [on hold]
I am working on javadoc documentation for a project.
I am not sure if it is OK to leave these methods without links to documentation,
as in the image below.
Or are there any guidelines maybe that ...
0
votes
3answers
34 views
Including resources in seperate “resource” folder
Apologies if this has been asked elsewhere. I've gone through quite a few other questions but haven't yet worked out the answer.
I am trying to draw an image to a JPanel but I can't work out the path ...
0
votes
0answers
8 views
How to Configure cppcheclipse in eclipse RCP Application?
I want to use the cppcheeclipse plugin to configure in my RCP eclipse Application.After configure when i try to use it in my RCP Project It shows it is not a valid CDT project.
kindly give the steps ...
0
votes
2answers
32 views
Does Eclipse/Java run on WIndows 7 64 bits?
I noticed a lot of problems when trying to run Eclipse and Java on 64 bits MS Windows. Is it supported? Is this something I shouldn't do or try to do?
I extracted Eclipse helios 64 bits zip, then I ...
0
votes
1answer
25 views
Eclipse Plugin Development: Make plugin dependent on CDT-plugin
I am writing a plugin which I want to use the CDT-plugin (since I don't want to implement my own brand new C/C++ editor).
So there are two questions I hope you, my dear ladies and gentlemen, have ...
0
votes
1answer
32 views
How to select all the occurrences of a word in Eclipse
What I wan't to know is if it is possible to SELECT all of the occurrences of the same word in a Java Program. I know that it is possible in Sublime Text 3 but I wan't to know if it Will work in ...
0
votes
1answer
35 views
JNI Java method gets jettisoned when called from c++
I have a project that works on C++, and now porting it to use java using JNI, all computations still are made mostly in C++ but it is now wrapped with Java, and i've stumbled on to problem, there is a ...
-1
votes
0answers
30 views
Where to store data for flashcards? [on hold]
I want to design a Flashcard app. Not one where the user makes his/her own flashcards but where the user just gets to use my flashcards. WHere/how do you recommend I store this information/data? ...
0
votes
1answer
15 views
create on check configuration base on sun checks global
I'm nerved by the default checks "sun checks global" performes within the eclipse plugin checkstyle. So I try to remove the checks for line length and constants. As far as I know, it seems not ...
9
votes
1answer
51 views
Alternative of Jrebel for Hotswap or HotDeployment in Eclipse
As i am working in Java from past couple of year i do not saw any effort from Oracle to solve the problem of class reloading.
Like done by Jrebel
But its a licensed version and cost is very high ...
0
votes
0answers
13 views
Eclipse and IvyDE warning: Classpath Dependency Validator Message
I created a new Dynamic Web Project in Eclipse Kepler, and as it's my first time using IvyDE, I put some dependencies to test it out. here is my ivy.xml:
<ivy-module version="2.0" ...
0
votes
0answers
22 views
how do I view the complete command line used by eclipse to build and run my android program
To compile program in java we need to do something line javac <filename>.java , then java <filename>. I am guessing when I an building my program from eclipse it does something similar to ...