Class 'com.vaadin.pro.licensechecker.LicenseChecker' was not found.
search cancel

Class 'com.vaadin.pro.licensechecker.LicenseChecker' was not found.

book

Article ID: 253423

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

When starting AWI v12.3.9, the following Error is raised:

Class 'com.vaadin.pro.licensechecker.LicenseChecker' was not found.

Additional content:

=================================================================
Vaadin is running in DEBUG MODE.
Add productionMode=true to web.xml to disable debug features.
To show debug window, add ?debug to your application URL.
=================================================================
java.lang.NoClassDefFoundError: com/vaadin/pro/licensechecker/LicenseChecker
        at com.vaadin.server.VaadinServletService.verifyLicense(VaadinServletService.java:52)
        at com.vaadin.server.VaadinServletService.<init>(VaadinServletService.java:45)
        at com.uc4.ecc.framework.entrypoint.servlet.ECCServletService.<init>(ECCServletService.java:35)
        at com.uc4.ecc.framework.entrypoint.servlet.main.MainApplicationServlet.createServletService(MainApplicationServlet.java:147)
        at com.vaadin.server.VaadinServlet.init(VaadinServlet.java:232)
        at com.uc4.ecc.framework.entrypoint.servlet.main.MainApplicationServlet.init(MainApplicationServlet.java:157)
        at org.apache.felix.http.base.internal.handler.ServletHandler.init(ServletHandler.java:55)
        ...
Caused by: java.lang.ClassNotFoundException: *** Class 'com.vaadin.pro.licensechecker.LicenseChecker' was not found. Bundle com.vaadin.server [31] does not import package 'com.vaadin.pro.licensechecker', nor is the package exported by any other bundle or available from the system class loader. ***
        at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2066)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        ... 75 common frames omitted
Caused by: java.lang.ClassNotFoundException: com.vaadin.pro.licensechecker.LicenseChecker not found by com.vaadin.server [31]
        at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
        at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
        at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
        ... 76 common frames omitted

=================================================================

AWI never gets operational, calls to AWI receive an HTTP 404 response systematically.

 

Environment

Apache Tomcat 9.0.65

OpenJDK Runtime Environment (build 11.0.16+8-LTS)

Automic Web Interface 12.3.9.GA01-12.3.9-GA01

Cause

This is a defect. The application is not able to handle the flag debug=true in properties file correctly .

Resolution

Solution:

This was fixed with 21.0.0 and 12.3.9 HF1

 

Workaround:

The Workaround consists in removing  the line "debug=true" from the configuration.properties of your AWI application.