I wanted to generate a fineract jar file rather than war. and i have
generated a jar file called *fineract-provider-unknown.jar. *But, when I
wanted to Start it using java -jar build/libs/fineract-provider-unknown.jar  I
got this error any help/suggestion?

C:\Users\gelila\Downloads\Compressed\fineract-develop\fineract-develop>java
-jar
 build/libs/fineract-provider-unknown.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/fi
neract/ServerApplication has been compiled by a more recent version of the
Java
Runtime (class file version 55.0), this version of the Java Runtime only
recogni
zes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at
org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(Laun
chedURLClassLoader.java:151)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at
org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner
.java:46)
        at
org.springframework.boot.loader.Launcher.launch(Launcher.java:107)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
        at
org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)

On Thu, 1 Oct 2020 at 18:38, Michael Vorburger <m...@vorburger.ch> wrote:

> On Thu, Oct 1, 2020 at 9:47 AM ጓይላና Tube <eminemme...@gmail.com> wrote:
>
>> hi.
>>
>>> fiinally. i have created the fineract war file using gradlew clean war
>>>> command. the above problem was @ build.gradle line 208 & the
>>>> error had been taken care of by the following PR
>>>> https://github.com/apache/fineract/pull/1359. but,
>>>
>>> after creating the war file successfully and deploy into tomcat server.
>> i got the message "couldn't connect to server". any help? here is the log
>> file.
>>
>
> Unfortunately not, as no error message shown below, so difficult to help
> here.
>
>
>> Oct 01, 2020 8:29:19 AM org.apache.catalina.startup.HostConfig deployWAR
>> INFO: Deployment of web application archive
>> [C:\tomcat\webapps\fineract-provider-unknown.war] has finished in [64,902]
>> ms
>> Oct 01, 2020 8:29:19 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deploying web application directory [C:\tomcat\webapps\docs]
>> Oct 01, 2020 8:29:19 AM org.apache.catalina.startup.TldConfig execute
>> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable
>> debug logging for this logger for a complete list of JARs that were scanned
>> but no TLDs were found in them. Skipping unneeded JARs during scanning can
>> improve startup time and JSP compilation time.
>> Oct 01, 2020 8:29:19 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deployment of web application directory [C:\tomcat\webapps\docs]
>> has finished in [249] ms
>> Oct 01, 2020 8:29:19 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deploying web application directory [C:\tomcat\webapps\examples]
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.TldConfig execute
>> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable
>> debug logging for this logger for a complete list of JARs that were scanned
>> but no TLDs were found in them. Skipping unneeded JARs during scanning can
>> improve startup time and JSP compilation time.
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deployment of web application directory
>> [C:\tomcat\webapps\examples] has finished in [3,137] ms
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deploying web application directory [C:\tomcat\webapps\host-manager]
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.TldConfig execute
>> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable
>> debug logging for this logger for a complete list of JARs that were scanned
>> but no TLDs were found in them. Skipping unneeded JARs during scanning can
>> improve startup time and JSP compilation time.
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deployment of web application directory
>> [C:\tomcat\webapps\host-manager] has finished in [242] ms
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deploying web application directory [C:\tomcat\webapps\manager]
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.TldConfig execute
>> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable
>> debug logging for this logger for a complete list of JARs that were scanned
>> but no TLDs were found in them. Skipping unneeded JARs during scanning can
>> improve startup time and JSP compilation time.
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deployment of web application directory [C:\tomcat\webapps\manager]
>> has finished in [187] ms
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deploying web application directory [C:\tomcat\webapps\OLDROOT]
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.TldConfig execute
>> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable
>> debug logging for this logger for a complete list of JARs that were scanned
>> but no TLDs were found in them. Skipping unneeded JARs during scanning can
>> improve startup time and JSP compilation time.
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deployment of web application directory [C:\tomcat\webapps\OLDROOT]
>> has finished in [137] ms
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deploying web application directory [C:\tomcat\webapps\ROOT]
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.TldConfig execute
>> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable
>> debug logging for this logger for a complete list of JARs that were scanned
>> but no TLDs were found in them. Skipping unneeded JARs during scanning can
>> improve startup time and JSP compilation time.
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deployment of web application directory [C:\tomcat\webapps\ROOT]
>> has finished in [100] ms
>> Oct 01, 2020 8:29:23 AM org.apache.coyote.AbstractProtocol start
>> INFO: Starting ProtocolHandler ["http-bio-8443"]
>> Oct 01, 2020 8:29:23 AM org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 69703 ms
>>
>>>
>>>
>>>

Reply via email to