Eclipse Jee 2018-09 will be launched by using java 1.8 and above. So we need to install java 1.8 or above versions, either 32 bit or 64 bit according your system supports. After installing, you need to set system environment PATH variable of JDK path like C:\Program Files\Java\jdk<version>\jre\bin Error Screen Go to –> Right Click […]
Category: Java
Java Online Tutorial
No compiler is provided in this environment
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project <project-name>: Compilation failure No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? Solution Go to Windows –> Preferences –> Java […]
Java compiler level does not match the version of the installed Java project facet
Java compiler version and project facet selected java version not matching. So we need to change java project facets version according java compiler. Solution Change java project facets java version according java compiler. Select Project –> Right Click –> Project Facets –> Select version in version drop down. NarayanaswamyHello! I am Narayanaswamy founder and admin […]
Cannot refer to the non-final local variable productname defined in an enclosing scope
Probably you are using java 8 and the other computer is using java 7. Java requires references to variables from inner classes to be final variables. Java 8 will make them effectively final if you don’t reassign. Probably you are using java 8 and the other computer is using java 7. Java requires references to […]
struts 2 display tag styles
Struts 2 display tag styles quite different and complex so here I am going to consolidating all types of possible styles and different types options in terms of data displaying. Displays a list in an html table, formatting each item in the list according to the Column tags nested inside of this tag. Use […]
how to create and extract jar and war file in windows
In this post, we can learn how to create and extract jar and war files in windows command prompt. We can create executable jar with Main class and MANIFEST file by using java commands in windows. In the same way we can create/extract war file by using java commands in windows. Create Jar file without Main class D:\NarayanaTutorial>jar […]
ORA-28040: No matching authentication protocol Oracle 12c
ORA-28040: No matching authentication protocol after upgrade to 12c. From oracle 12.X, the default value for the SQLNET.ALLOWED_LOGON_VERSION parameter has been updated to 11. It defines the minimum version of authentication protocol permitted to access the database. Prior to version 12c the default setting for SQLNET.ALLOWED_LOGON_VERSION (the equivalent parameter prior to 12c) was 8. In 12c the default […]
How to check JKS certificate details in java
JKS certificate using for accessing web application through secure https protocol instead http. Assume JKS file is created but you didn’t remember some of the key details to setup in the server level like key store type, key store provider, creation date, alias name, validity, owner etc.. This article helps you to get this information. […]
After upgrading struts2 to latest version s:submit not working
Due to security vulnerabilities, struts2 needs to be upgraded to latest versions i.e vulnerable free (2.3.32 or 2.5.10.1) which is vulnerabilities free. After upgrading s:submit action button will not work because it is disabled by default due to security vulnerabilities. Example <s:submit align=”center” action=’Login_loginUser’ value=”Login”/> So that to make it as working, we need […]