I try to debug Jonas webapp under Eclipse. Unfortunately when I connect to the remote application everything works terriblly slow (also after killing all java applications and restarting the PC). I use also JRebel. What might be the cause of such behaviour? Answer You could also try using the Java Monitoring and Management Console. This may help show where the
Tag: eclipse
How to deal with missing src/test/java source folder in Android/Maven project?
I’m not very experienced with Maven in combination with Android yet, so I followed these instructions to make a new Android project. When the project has been created, I get the following error message: Project ‘xxx-1.0-SNAPSHOT’ is missing required source folder: ‘src/test/java’ When I try to add a new source folder with New->Other->Java-Source Folder with src/test/java, I get another error
VisualVM launcher error
I’m trying to use the Eclipse VisualVM launcher. It seems pretty nice, except that it seems to spawn an instance if VisualVM too late to do any profiling of my application. My application finishes execution before the profiler is even initialized; once it starts up, an error window pops up, saying: cannot open requested application. It then shows VM running
How to crash an Android app programmatically?
I want to test out crash report using acra but the first step is I need to simulate a fatal crash in Android using code. Any idea? Answer Just execute this code: divide by zero Update: Also can try this Create a method, And call this somewhere/buttonClick OR simply throw an uncaught exception Bingo!
My copy of Eclipse doesn’t know what an object or a String is
I have a copy of Eclipse Indigo on my mac. It was working fine until I imported a project I had made on a different computer. Now I get errors like “The type java.lang.Object cannot be resolved.” and “String cannot be resolved to a type”. Also, the computer I built it on had Java 7, while my slightly broken mac
Eclipse is executing the wrong Java file
I am using Eclipse to write and test Java. I am a beginner so i don’t know anything about Eclipse. The problem occurs when I try to run the Java file I just wrote. Instead of executing the file that is opened, it executes the file that I have successfully ran before. I have a few files in the same
Can’t start Eclipse – Java was started but returned exit code=13
I am trying to get my first taste of Android development using Eclipse. I ran into this problem when trying to run Eclipse, having installed version 4.2 only minutes ago. After first trying to start Eclipse without any parameters to specify the Java VM, I got an error message saying it couldn’t find a Java VM called javaw.exe inside the
Eclipse Web-App Deployment with Tomcat: Providing multiple projects’ dependencies?
I have a problem providing some third party librarys (JAR-files) I am using when deploying my dynamic web application with Tomcat 6 and Eclipse. Please note that I -do know- how to do this in a setup, where the web application project -directly- depends on those JARs. However, in my setup, I have two Eclipse projects: core is a class
System.out.print() doesn’t send any output to Eclipse console. Why?
I have the following Java class: When I run this code in Eclipse IDE, I don’t see any output in Eclipse console. If I change value 1448 and set for example 1447 or less, I see output in console (12345678…) So, maybe Eclipse IDE has restrictions on string length in console? What do you think about this? Answer Right click
Eclipse: How to automatically generate getter when adding a field?
I am using TDD, and have a very typical coding pattern, using Eclipse to autocreate methods and fields as I code the unit test. For example: type name of method that doesn’t exist, e.g: myObj.setValue(someValue); Click on the little red error mark in the IDE to create the “setValue” method. Type inside of setValue method: public void setValue(String value) {