netbeans-7

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project smrr: There are test failures

风流意气都作罢 提交于 2019-12-05 01:56:58
问题 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test (default-test) on project smrr: There are test failures. Please refer to C:\Users\root\Downloads\smrr\target\surefire-reports for the individual test results. -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging. For more information about the errors and possible solutions, please read the following articles: [Help 1]

Background scanning of projects slows down Netbeans 7.2

徘徊边缘 提交于 2019-12-05 01:22:10
问题 I have the latest Java and JDK. I have a PHP project (CodeIgniter). When I open it in NetBeans 7.2 I can't get rid of "Background scanning of projects". What is this? How can I accelerate it? How can I disable it? [current solution] This happens only once when you open a new project in NetBeans. Later "Background scanning of projets" works 10-15 seconds. 回答1: I found a solution, however it has slight drawbacks. Use the Scan on Demand plugin. After restarting Netbeans, background scanning

NetBeans 7.0.1: Access to Tomcat server has not been authorized

坚强是说给别人听的谎言 提交于 2019-12-04 23:39:21
问题 i am a beginner, just started with JSP and am stuck at the starting. please help me out. i have downloaded catalina.bat and setclasspath.bat in there proper location /tomcat/bin/ but still getting the error of authorization. i have seen a similar post and edited my tomcat-users.xml with this line <user username="root" password="1234" roles="manager-script"/> but still NOT able to run it successfully. See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api

NetBeans 7 dependency graph (unused class/method)

一曲冷凌霜 提交于 2019-12-04 17:14:58
Is there a way to create a dependency graph for classes and/or methods of Java SE projects within NetBeans 7? I have a very large project and I'd like to clean up unused classes or methods (and a dependency graph would also be useful). The "center" of the graph would be the main() entry point of main classes I invoke, and adjacencies would be method calls (including some Swing framework methods to classes which override the Java Swing framework). That's weird, when I right click on a project in NetBeans 7.0.1 I can choose "Show dependency graph" and it shows me a dependency graph, complete

How do I upgrade an existing NetBeans Java EE 6 Web project to Java EE 7?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 15:29:05
The project uses JavaServer Faces and JPA. NetBeans 7.3.1 IDE does not allow to change the Java EE version. I already found this question: How do I upgrade an existing enterprise project from Java EE5 to Java EE 6 in Netbeans (6.9) tries to apply the changes as described. I have updated project.properties. endorsed.classpath=\ ${libs.javaee-endorsed-api-7.0.classpath} ... j2ee.platform=1.7-web ... javac.source=1.7 javac.target=1.7 I just had to do the same thing, I had an Java EE 6 Application and wanted to go to Java EE 7. I just made a new project in Netbeans, then I selected Java Web in

jars no longer seem to be signed. JARSigningException: Found unsigned entry

浪尽此生 提交于 2019-12-04 11:47:39
NB 7.4RC2, Win 7 In Java Control Panel, the "Keep Temporary Internet Files" checkbox is checked. I am signing my Web Start application with trusted certificates. However, the 3rd party jars in dist/lib seem to be unsigned. C:\Program Files (x86)\Java\jdk1.7.0_40\bin\jarsigner" -verify javafx-dialogs-0.0.3.jar jar is unsigned. (signatures missing or not parsable) So when I run my application in the debugger, it refuses to start complaining of unsigned jars ExitException[ 3]com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: file:/C:/Users/me/Documents/NetBeansProjects

JAVA EE 7 First cup tutorial, can't install Glassfish 4 update center

廉价感情. 提交于 2019-12-04 09:19:17
Well I was trying to follow the first cup tutorial, but I'm stuck with a Glassfish error. I'm supposed to this: 1.2.4 Getting the Latest Updates to the Tutorial Check for any updates to this tutorial by using the Update Center included with the Java EE 7 SDK. 1.2.4.1 Update the Tutorial Through the Update Center Open the Update Center and check for any updates to the tutorial. In NetBeans IDE, select the Services tab and expand the Servers node. Right-click the GlassFish Server instance and select View Update Center to display the Update Tool. In the tree, select Available Updates to display a

How to do HTML comments in NetBeans

本小妞迷上赌 提交于 2019-12-04 07:48:21
In NetBeans, for javascript and php files/code, you can easily comment lines of code by just selecting them and then clicking on the comment button as shown in this picture. Is possible to perform the same action for HTML code? If yes, how? Jonathan Spooner To comment out html code (and javascript/php code), select the section of code you want to comment out and use the Ctrl + Shift + C ( Cmd + Shift + C for Mac) keyboard shortcut. For html code this adds the <!-- --> tags around your code. To uncomment, select the commented code and use the same keyboard shortcut. This will remove the comment

Netbeans7.1 & JavaFX 2.0 - FXML code completion doesn't work

戏子无情 提交于 2019-12-04 07:28:38
I started learning JavaFX 2.0 and installed Netbeans 7.1, java 7.02 SDK (wich contains JavaFX 2). Everything seems to work, the example projects compile and run fine. My problem is: Code completition doesn't work for FXML files. I press ctrl+space and it shows "No suggestions" every time. The same for tags and attributes. Does anyone know what could be the problem? You can still show autocomplete menu for attributes by pointing the cursor just beginning (or middle to show sublist) of the existing attribute and hitting ctrl+space. Also while writing tags, Netbeans suggests even automatically

How to create a Chart Explorer with Java and JFreeChart?

喜欢而已 提交于 2019-12-04 06:56:37
问题 I have created a Java desktop program , with the help of JFreeChart libraries. I can open a stock data file (symbol.txt) and have the program display a couple of indicators. I want to create an explorer in a new JFrame window that will open a folder with stock data files and check some indicator value. My problem is to find a way to open multiple files at once (at the user level) but process every file one after the other at the program level (open first file, check indicator, close first