netbeans-8

Specified Class is not a Driver. Can't add MySQL Connector/J 8.0 to Netbeans 8.0

倖福魔咒の 提交于 2019-12-13 19:48:02
问题 I can't get MySQL 8.0 jdbc driver set up in Netbeans. Can anyone help? My Netbeans 8.0 IDE was set up using an older version of the MySQL JDBC Driver, 5.1.23. I upgraded MySQL to 8.0 and am trying to setup a new JDBC Driver in Netbeans because the old driver isn't able to connect to the new DB (*see note at end). These are the steps I followed. Step 1: I removed the old mysql driver jar file from D:\Program Files\NetBeans 8.0\ide\modules\ext and copied the new mysql-connector-java-8.0.12.jar

Netbeans 8.2 : Scrollbar not following cursor

老子叫甜甜 提交于 2019-12-13 16:48:05
问题 So i updated from Netbeans 8.0.2 to 8.2 and now i have this very annoying bug : when i move the cursor down, the scrollbar won't auto scroll, so the cursor simply disappears ! I need to manually scroll to get the cursor visible again. I'm on Mac Os 10.13.4. Anyone had this bug and could fix it ? Otherwise i'll have downgrade to get my things done properly again. Thanks ! 回答1: I checked NetBeans bugs and don't see an exact match for your problem, but there are plenty of similar ones. Note that

Netbeans suddenly failed to start after saying “Done Loading modules”

╄→尐↘猪︶ㄣ 提交于 2019-12-13 14:23:26
问题 Netbeans 8.0 fails to start in Ubuntu 12.04 suddenly. Previously it used to work fine. But now it does not start, when I try to start, the netbeans blue loading box shows up, sometime after showing the message "Done Loading modules", it disappears & netbeans windows does not appear. However netbeans is still shown in the running processes, but the netbeans windows does not open after any time. In the past, this also happened with netbeans 7.4 sometime ago when I disabled some plugins

How to use Tamil in NetBeans 8.0.2

自古美人都是妖i 提交于 2019-12-13 07:09:15
问题 I have set my project properties to UTF-8 encoding and installed all my native language (Tamil) fonts. I have tried to use Tamil words but it displays only as boxes. How do I resolve this? 回答1: NetBeans uses Monospace font as its default font and this font may not have all the unicode characters you need. The solution is to change the default font of NetBeans editor windows and also to change the font of NetBeans output window which needs to be done from different places. Changing Default

WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped

老子叫甜甜 提交于 2019-12-13 05:07:25
问题 Using NetBeans 8.2 with JSF2.2 on GlassFish4.1.1 , without ( Prime || ICE || Rich ) && faces :) I have NB configured so every time I save any file, it re-deploys the project so the changes are "automatically" reflected when F5 on the browser. This is done by checking Deploy on save under Right click on project icon > Properties > Run , which If selected, files are compiled and deployed when you save them. This option saves you time when you run or debug your application in the IDE. So far,

java.lang.IllegalStateException: WELD-000340: A request must be associated with the context in order to load the known conversations

与世无争的帅哥 提交于 2019-12-13 04:43:35
问题 I'm getting the following exception on accessing an XHTML page on WildFly 8.1.0 final. 00:46:41,859 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (default task-26) Error Rendering View[/Test.xhtml]: java.lang.IllegalStateException: WELD-000340: A request must be associated with the context in order to load the known conversations at org.jboss.weld.context.AbstractConversationContext.checkIsAssociated(AbstractConversationContext.java:416) [weld-core-impl-2.1.2.Final.jar:2014

FXML Custom Chart

只愿长相守 提交于 2019-12-13 02:56:10
问题 I've been using custom fitting chart from Ensemble Test, which works great. Problem is I cannot use it in FXML. Someone else seemed to do that successfully. Error: Instances of curvefittedareachartappfxml.CurvedFittedAreaChart cannot be created by FXML Loader. FXMLDocument.fxml <?import javafx.scene.chart.*?> <?import java.lang.*?> <?import java.util.*?> <?import javafx.scene.*?> <?import javafx.scene.control.*?> <?import javafx.scene.layout.*?> <?import curvefittedareachartappfxml

Deploy Java Application with Embedded Derby Database

…衆ロ難τιáo~ 提交于 2019-12-13 02:48:01
问题 Am developing a java desktop application using Netbeans 1.8 IDE, the application will use embedded derby database to store data. The connection to the derby database is by the following. final String host = "jdbc:derby:C:\\Users\\Faisal\\.netbeans- derby\\Wa_Poly"; final String uName = "APP"; final String uPass = "12345"; the following code snippet is used to connect to the database. try (Connection con = DriverManager.getConnection(host, uName, uPass)) { try (Statement pstm = con

How to facilitate Netbeans Designer to load JPanel-s that use an enum reverse-lookup using hashmap?

核能气质少年 提交于 2019-12-12 23:13:52
问题 This has become a Dorothy Dix as I found the root of the matter while I was composing this question. Nevertheless, I decided to post it because it had everyone in our office stumped and I could find nothing helpful in the google or stackoverflow searches. This is a good example of once you ask the right question, you may see the light. While the title might sounds complicated, it is a really simple problem that seemed to have no answer. At the centre of this is an enum : Status public enum

Git console in Netbeans

≡放荡痞女 提交于 2019-12-12 13:33:22
问题 I've just installed Netbeans 8 and I'd like to start using Git. There are plenty of buttons, menus, etc. but where can I find Git console? I use Windows. 回答1: You're probably best off installing it directly if you want the console; the IDEs will often only give the menu integrated options. Git's website has the console version for Windows: http://git-scm.com/ 回答2: To make terminal work in your Netbeans IDE you just need to install cygwin. While you installing/setting up cygwin you have to