NetBeans 12 is a major release of the Apache Netbeans IDE which adds support for Java 16, Jakarta EE9 and built in support for Payara. It was released in May, 2021. Use this tag only for questions specifically relating to any version of NetBeans 12, such as 12.1, 12.4, etc. When specifying the "netbeans-12" tag, be sure to additionally specify the generic "netbeans" tag to attract a wider audience for your question.
Questions tagged [netbeans-12]
89 questions
0
votes
0 answers
Apache NetBeans IDE 12.0 "Activation Failed"
Try to create a new project (Java with Ant -> Java Application)
However, I get the following errors:
I've tried many ways and also uninstall and reinstall the jdk14 and Apache Netbeans 12.0 plenty of times but the error still remain the same.
What…
0
votes
1 answer
Method action event is already defined in JavaCal in NetBeans IDE?
I was trying to make a calculator with java in NetBeans follow ing this tutorial here is the tutorial https://www.youtube.com/watch?v=_ZW4ktG1DEE&list=PLAL-dvEAuBBTkYoPZ4XRU3FsoB8Nm03hy
also, this is my code
https://pastebin.com/frvmHM0Y
private…
user14589538
0
votes
1 answer
Netbeans JavaDB won't start
Similarly to https://bz.apache.org/netbeans/show_bug.cgi?id=257948 , my JavaDB connections starting going haywire a couple days ago.
They were working nicely with Netbeans 12.1 and Glassfish 5.1 and JDK 15 until two days ago. I use the embedded…

JohnRDOrazio
- 1,358
- 2
- 15
- 28
0
votes
1 answer
NetBeans 12 PHP - IDE's default browser does not work
I migrated to a new pc - switched from NetBeans 11 to NetBeans 12 using the old project configs.
In the new setup when I select IDE's default web browser for debugging (PHP7.3 + Xdebug 2.8) NetBeans opens Internet Explorer instead of opening a…

Nir
- 24,619
- 25
- 81
- 117
0
votes
0 answers
cannot access class javax.persistence.Persistence (in unnamed module @0x21e018cc) because module com.mycompany.modpersona does not read unnamed module
The error occurs when making the call from the simple module to the modpersona module to access a database table.
Appreciate if anyone can shed light on why this error is thrown.
It is a MAVEN project.
OS FEDORA 32 ; NETBEANS 12.1 ; JAVA 15 ;…

mansysnet
- 1
- 1
0
votes
1 answer
Netbeans12+Glassfish5.1. Simple jsf,CDI(JavaEE8) program causes RuntimeException
I made project "Java EE Web Application" in NB.
new project -> Java With Ant -> Java Web -> Web Application.
After deploying, I access this simple web page it incluludes #{mainBB.number}, then exception causes. If I typo bean name like…

naturallucky
- 1
- 3
0
votes
1 answer
I can't install Apache NetBeans plugins with JDK 14 installed
I've got JDK 14 installed, and I can't install NetBeans plugins. After looking carefully at what exactly happened, it seems like NetBeans plugins are installed using the Pack200 API, which was removed in JDK 14. I don't think Apache is aware of this…

Tech Expert Wizard
- 365
- 1
- 6
- 21
0
votes
1 answer
plugins update error "Some plugins require plugin JNA to be installed netbeans"
i am trying to install a plugin embedded-browser, but it's showing me error, i am using netbeans version 12.0 on arch linux.
Some plugins require plugin JNA to be installed.
The plugin JNA is requested in version >= 1.3 (release version 1) but only…

MrW01f
- 9
- 1
- 3
0
votes
1 answer
In NetBeans 12.0 I get the error cannot access java.lang
I know there are very many questions exactly like this, but I have tried various things and still have no idea what to do. I started learning java very recently and was just able to print "hello world" with a .java file using a text editor. That was…

Supergamer5465
- 77
- 1
- 9
0
votes
0 answers
Netbeans doesn't see newly installed fonts
I have installed several fonts (UbuntuMono, Dina, EnvyCode, etc...) and every editor (Notepad++, Word, etc...) see them.
Only Netbeans (version 12.0) cannot see them, even after reboot.
Where could I find the solution?

Professor Emeritus
- 46
- 6
0
votes
3 answers
Netbeans 12 on Windows won't let me connect Tomcat
No matter which tutorial I follow, I am unable to get apache-tomcat-8.0.9 to work with Netbeans 12. The IDE keeps showing the error message The specified Server Location (Catalina Home) folder is not valid. I'm using jdk-14.0.1 and…

Olowofoyeku Tolu
- 1
- 1
0
votes
1 answer
Change case in search/replace dialog box across entire project
The above solution solves the problem. Neither Eclipse nor NetBeans handle \l
Warning: this is a NetBeans specific question, not a general regular expression question. The problem only occurs in NetBeans' implementation of regular expressions.
I am…

downeyt
- 1,206
- 2
- 12
- 23
-2
votes
1 answer
NetBeans 12.6 not opening txt files on MAC
I am trying to open a txt file in NetBeans 12.6 using Java. I placed the txt file in the main project file. When I try to open the file using the File and Scanner method I keep getting the "Unreported exception FileNotFoundException" error. Is there…

K_Cole369
- 1
- 1
-2
votes
2 answers
error instantiating servlet class during sign in
I have made a notelog web project using tomcat as server in Netbeans IDE. It was working fine until couple of days ago, even though I hadn't changed anything, it started showing error.
Whenever I run my notelog and then try to sign in through…

RONAK MALKAN
- 3
- 2