java.lang.NoClassDefFoundError, java.lang.ClassNotFoundException
When you add a dependency reference to a Java project, it may compile without any errors, but runtime you may get an error message similar to this: HTTP Status 500 – Internal Server Error Type Exception Report Message An exception occurred processing JSP…
Java Spring MVC web application configuration in NetBeans 8
When you create a Java Spring MVC web application or make changes to an existing one, it is important to know the location of configuration values. Java package name The Java package name is stored in Every .java file package MY_PACKAGE_NAME pom.xml file…
org.apache.jasper.JasperException: java.lang.IllegalStateException: No output folder
This error can happen on Linux and Windows, and the cause could be the same. On Windows Server 2012R2 I opened a command prompt. To be able to delete a directory from the Tomcat webapps folder, I have issued the shutdown command. When I started the…
Only persistence units with transaction type JTA can be used as a container managed entity manager
NetBeans can use multiple deployment servers. When your web application uses the Entity Framework and you select the Glassfish server as the deployment server, you can get the error message when you try to run your application in the IDEÉ Severe:…
Git Bash and Command Prompt cannot see the VirtualBox shared folder on Windows 10 guest
When you start a Windows 10 guest machine in VirtualBox on your workstation, you can set up shared folders to seamlessly copy files between your workstation and the Windows 10 guest machine. The shared folder appears in Windows Explorer as a mapped…
Refresh the environment variables in the Windows Command Prompt and PowerShell window
When the Windows Command Prompt and PowerShell windows open, they read the environment variables from the registry. If another process changes the value of an environment variable or creates a new one, the already open windows don’t reflect those…
Install Git on Windows
If you use two-factor authentication see Create a Personal Access Token to use it as password in the command line tools at Switching to 2-factor authentication in GitHub Configure Git for Windows Enable Page Up and Page Down Enable…
Install Chocolatey
The Chocolatey home page is at https://chocolatey.org/ Install Chocolatey Navigate to the Chocolatey website at https://chocolatey.org/ and follow the latest instructions. Individuals should navigate to https://chocolatey.org/install. At the…
The instance ID ‘…’ does not exist
When you launch an EC2 instance in AWS and the Chef script is trying to set tags on the instance you may get the error message: The instance ID ‘…’ does not exist It can happen when you launch the instance in one AWS account, and…
Determine the Windows PowerShell version
To reliably display the version of the Windows PowerShell engine Open a PowerShell command window, Execute the command, $PSVersionTable.PSVersion PS C:\WINDOWS\system32> $PSVersionTable.PSVersion Major Minor Build Revision —– …