Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue after pulling the code not able to run after following the steps #75

Open
abdelaziz-allam opened this issue Sep 28, 2022 · 0 comments

Comments

@abdelaziz-allam
Copy link

Hi Team,

Wish all is good , I was trying to run the code after cloning the source code at my local , connecting to running local postgres db

I have noticed that some classes are missed all classes which Start with Q under package io.smsc.model.admin
sample import io.smsc.model.admin.QUser;

But I'm not able to run the solution failing with below issues while doing mvn install

Java Base Code

Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 1.708 sec <<< FAILURE! - in io.smsc.repository.customer.CustomerRestTest testGetSingleCustomer(io.smsc.repository.customer.CustomerRestTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testSetAndDeleteParent(io.smsc.repository.customer.CustomerRestTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testGetAllCustomers(io.smsc.repository.customer.CustomerRestTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testUpdateCustomer(io.smsc.repository.customer.CustomerRestTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testCreateCustomer(io.smsc.repository.customer.CustomerRestTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testCustomerNotFound(io.smsc.repository.customer.CustomerRestTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testReplaceCustomer(io.smsc.repository.customer.CustomerRestTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testDeleteCustomer(io.smsc.repository.customer.CustomerRestTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] Running io.smsc.repository.customer.CustomerUnitTest Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in io.smsc.repository.customer.CustomerUnitTest Running io.smsc.SpringMainTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.008 sec <<< FAILURE! - in io.smsc.SpringMainTest testBasePackageScan(io.smsc.SpringMainTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application at io.smsc.SpringMainTest.testBasePackageScan(SpringMainTest.java:37) Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer at io.smsc.SpringMainTest.testBasePackageScan(SpringMainTest.java:37) Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testEmptyApplicationContext(io.smsc.SpringMainTest) Time elapsed: 0.008 sec <<< ERROR! java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application at io.smsc.SpringMainTest.testEmptyApplicationContext(SpringMainTest.java:30) Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer at io.smsc.SpringMainTest.testEmptyApplicationContext(SpringMainTest.java:30) Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] Running io.smsc.util.ServiceUtilUnitTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.276 sec <<< FAILURE! - in io.smsc.util.ServiceUtilUnitTest getUserRepositoryBean(io.smsc.util.ServiceUtilUnitTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] Running io.smsc.security.DemoAccessTest Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.044 sec <<< FAILURE! - in io.smsc.security.DemoAccessTest testDemoDeleteAccess(io.smsc.security.DemoAccessTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testDemoWriteAccess(io.smsc.security.DemoAccessTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testDemoReadAccess(io.smsc.security.DemoAccessTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testDemoCreateAccess(io.smsc.security.DemoAccessTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] Running io.smsc.security.AdminAccessTest Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.027 sec <<< FAILURE! - in io.smsc.security.AdminAccessTest testAdminCreateAccess(io.smsc.security.AdminAccessTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testAdminReadAccess(io.smsc.security.AdminAccessTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testAdminWriteAccess(io.smsc.security.AdminAccessTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testAdminDeleteAccess(io.smsc.security.AdminAccessTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] Running io.smsc.security.UserAccessTest Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.066 sec <<< FAILURE! - in io.smsc.security.UserAccessTest testUserWriteAccess(io.smsc.security.UserAccessTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testUserReadAccess(io.smsc.security.UserAccessTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testUserCreateAccess(io.smsc.security.UserAccessTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testUserDeleteAccess(io.smsc.security.UserAccessTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] Running io.smsc.controller.IndexControllerConfigActionWithEnvironmentVariablesTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.626 sec <<< FAILURE! - in io.smsc.controller.IndexControllerConfigActionWithEnvironmentVariablesTest testConfigActionWithoutResourceWithEnvironmentVariables(io.smsc.controller.IndexControllerConfigActionWithEnvironmentVariablesTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testConfigActionWithMockedResourceAndEnvironmentVariables(io.smsc.controller.IndexControllerConfigActionWithEnvironmentVariablesTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] Running io.smsc.controller.IndexControllerConfigActionWithPropertiesTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.534 sec <<< FAILURE! - in io.smsc.controller.IndexControllerConfigActionWithPropertiesTest testConfigActionWithMockedResourceAndProperties(io.smsc.controller.IndexControllerConfigActionWithPropertiesTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testConfigActionWithoutResourceWithProperties(io.smsc.controller.IndexControllerConfigActionWithPropertiesTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] Running io.smsc.controller.IndexControllerTest Tests run: 11, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 2.768 sec <<< FAILURE! - in io.smsc.controller.IndexControllerTest testConfigActionWithoutResourceAndProperties(io.smsc.controller.IndexControllerTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testAdminActionWithFilePathAndMockedResourceModified(io.smsc.controller.IndexControllerTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testAdminActionWithFilePathAndWithoutResourceModified(io.smsc.controller.IndexControllerTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testAdminActionWithoutFilePathWithMockedResourceModified(io.smsc.controller.IndexControllerTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testAdminActionWithFilePathAndWithoutResourceNotModified(io.smsc.controller.IndexControllerTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testAdminActionWithoutFilePathWithMockedResourceNotModified(io.smsc.controller.IndexControllerTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testIndexActionWithModifiedData(io.smsc.controller.IndexControllerTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testIndexActionWithUnmodifiedData(io.smsc.controller.IndexControllerTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testAdminActionWithoutFilePathAndResource(io.smsc.controller.IndexControllerTest) Time elapsed: 0.001 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testAdminActionWithFilePathAndMockedResourceNotModified(io.smsc.controller.IndexControllerTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testConfigActionWithMockedResourceWithoutProperties(io.smsc.controller.IndexControllerTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] Running io.smsc.LinksAndPagesTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.58 sec <<< FAILURE! - in io.smsc.LinksAndPagesTest testGenerateLinksSnippet(io.smsc.LinksAndPagesTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testGeneratePagesSnippet(io.smsc.LinksAndPagesTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] Running io.smsc.service.encryption.EncrypterUtilEncryptionTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.035 sec <<< FAILURE! - in io.smsc.service.encryption.EncrypterUtilEncryptionTest initializationError(io.smsc.service.encryption.EncrypterUtilEncryptionTest) Time elapsed: 0 sec <<< ERROR! org.objenesis.ObjenesisException: java.lang.reflect.InvocationTargetException Caused by: java.lang.reflect.InvocationTargetException Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl loaded by org.powermock.core.classloader.MockClassLoader @305c4ac cannot access jdk/internal/reflect superclass jdk.internal.reflect.MagicAccessorImpl Running io.smsc.service.encryption.EncrypterUtilHashingTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.26 sec <<< FAILURE! - in io.smsc.service.encryption.EncrypterUtilHashingTest testHashPasswordWithBCrypt(io.smsc.service.encryption.EncrypterUtilHashingTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] Running io.smsc.service.StaticResourceServiceUnitTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.037 sec <<< FAILURE! - in io.smsc.service.StaticResourceServiceUnitTest io.smsc.service.StaticResourceServiceUnitTest Time elapsed: 0.037 sec <<< ERROR! java.lang.ExceptionInInitializerError Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @34d2e626 Running io.smsc.exception.GenericExceptionHandlerTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.526 sec <<< FAILURE! - in io.smsc.exception.GenericExceptionHandlerTest testInitRepositoryConstraintViolationException(io.smsc.exception.GenericExceptionHandlerTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] testInitDataIntegrityViolationException(io.smsc.exception.GenericExceptionHandlerTest) Time elapsed: 0 sec <<< ERROR! java.lang.IllegalStateException: Failed to load ApplicationContext Caused by: java.lang.IllegalStateException: Cannot load configuration class: io.smsc.Application Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IllegalStateException: Unable to load cache item [in thread "main"] Running io.smsc.listeners.EncryptionListenerUnitTest Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.001 sec <<< FAILURE! - in io.smsc.listeners.EncryptionListenerUnitTest testDecryptCall(io.smsc.listeners.EncryptionListenerUnitTest) Time elapsed: 0.001 sec <<< ERROR! java.lang.NullPointerException: Cannot invoke "io.smsc.listeners.EncryptionListener.decrypt(Object)" because "this.listener" is null at io.smsc.listeners.EncryptionListenerUnitTest.testDecryptCall(EncryptionListenerUnitTest.java:71) testEncryptCallWithoutException(io.smsc.listeners.EncryptionListenerUnitTest) Time elapsed: 0 sec <<< ERROR! java.lang.NullPointerException: Cannot invoke "io.smsc.listeners.EncryptionListener.encrypt(Object)" because "this.mockListener" is null at io.smsc.listeners.EncryptionListenerUnitTest.testEncryptCallWithoutException(EncryptionListenerUnitTest.java:52) testEncryptCall(io.smsc.listeners.EncryptionListenerUnitTest) Time elapsed: 0 sec <<< ERROR! java.lang.NullPointerException: Cannot invoke "io.smsc.listeners.EncryptionListener.encrypt(Object)" because "this.listener" is null at io.smsc.listeners.EncryptionListenerUnitTest.testEncryptCall(EncryptionListenerUnitTest.java:66) testDecryptCallWithoutException(io.smsc.listeners.EncryptionListenerUnitTest) Time elapsed: 0 sec <<< ERROR! java.lang.NullPointerException: Cannot invoke "io.smsc.listeners.EncryptionListener.decrypt(Object)" because "this.mockListener" is null at io.smsc.listeners.EncryptionListenerUnitTest.testDecryptCallWithoutException(EncryptionListenerUnitTest.java:59) Results : Tests in error: LinksAndPagesTest.testGenerateLinksSnippet ? IllegalState Failed to load Appli... LinksAndPagesTest.testGeneratePagesSnippet ? IllegalState Failed to load Appli... SpringMainTest.testBasePackageScan:37 ? IllegalState Cannot load configuration... SpringMainTest.testEmptyApplicationContext:30 ? IllegalState Cannot load confi... IndexControllerConfigActionWithEnvironmentVariablesTest.testConfigActionWithMockedResourceAndEnvironmentVariables ? IllegalState IndexControllerConfigActionWithEnvironmentVariablesTest.testConfigActionWithoutResourceWithEnvironmentVariables ? IllegalState IndexControllerConfigActionWithPropertiesTest.testConfigActionWithMockedResourceAndProperties ? IllegalState IndexControllerConfigActionWithPropertiesTest.testConfigActionWithoutResourceWithProperties ? IllegalState IndexControllerTest.testAdminActionWithFilePathAndMockedResourceModified ? IllegalState IndexControllerTest.testAdminActionWithFilePathAndMockedResourceNotModified ? IllegalState IndexControllerTest.testAdminActionWithFilePathAndWithoutResourceModified ? IllegalState IndexControllerTest.testAdminActionWithFilePathAndWithoutResourceNotModified ? IllegalState IndexControllerTest.testAdminActionWithoutFilePathAndResource ? IllegalState F... IndexControllerTest.testAdminActionWithoutFilePathWithMockedResourceModified ? IllegalState IndexControllerTest.testAdminActionWithoutFilePathWithMockedResourceNotModified ? IllegalState IndexControllerTest.testConfigActionWithMockedResourceWithoutProperties ? IllegalState IndexControllerTest.testConfigActionWithoutResourceAndProperties ? IllegalState IndexControllerTest.testIndexActionWithModifiedData ? IllegalState Failed to l... IndexControllerTest.testIndexActionWithUnmodifiedData ? IllegalState Failed to... GenericExceptionHandlerTest.testInitDataIntegrityViolationException ? IllegalState GenericExceptionHandlerTest.testInitRepositoryConstraintViolationException ? IllegalState JWTAuthenticationTest.testGenerateTokenGeneratesDifferentTokensForDifferentCreationDates ? IllegalState JWTAuthenticationTest.testGetResourceWithNotExistedUser ? IllegalState Failed ... JWTAuthenticationTest.testGetResourceWithoutToken ? IllegalState Failed to loa... JWTAuthenticationTest.testGetUsernameFromEmptyToken ? IllegalState Failed to l... JWTAuthenticationTest.testJwtAccessWithExpiredToken ? IllegalState Failed to l... JWTAuthenticationTest.testLoginAdmin ? IllegalState Failed to load Application... JWTAuthenticationTest.testLoginDemo ? IllegalState Failed to load ApplicationC... JWTAuthenticationTest.testLoginUnauthorized ? IllegalState Failed to load Appl... JWTAuthenticationTest.testLoginUser ? IllegalState Failed to load ApplicationC... JWTAuthenticationTest.testLoginWithWrongPassword ? IllegalState Failed to load... JWTAuthenticationTest.testLoginWithoutAdminUserRole ? IllegalState Failed to l... JWTAuthenticationTest.testRefreshToken ? IllegalState Failed to load Applicati... JWTAuthenticationTest.testRefreshTokenWithExpiredRefreshToken ? IllegalState F... JWTAuthenticationTest.testRefreshTokenWithInvalidRefreshToken ? IllegalState F... JWTTokenGenerationServiceUnitTest.initializationError ? Objenesis java.lang.re... JWTUserTest.testCreateJWTUserWithoutRights ? IllegalState Failed to load Appli... JWTUserTest.testLoadAdminUserByEmailAndCreateJWTUser ? IllegalState Failed to ... JWTUserTest.testLoadAdminUserByUsernameAndCreateJWTUser ? IllegalState Failed ... JWTUserTest.testLoadNotExistedUserByEmail ? IllegalState Failed to load Applic... EncryptionListenerUnitTest.testDecryptCall:71 NullPointer Cannot invoke "io.sm... EncryptionListenerUnitTest.testDecryptCallWithoutException:59 NullPointer Cann... EncryptionListenerUnitTest.testEncryptCall:66 NullPointer Cannot invoke "io.sm... EncryptionListenerUnitTest.testEncryptCallWithoutException:52 NullPointer Cann... AuthorityRestTest.testAuthorityNotFound ? IllegalState Failed to load Applicat... AuthorityRestTest.testCreateAuthority ? IllegalState Failed to load Applicatio... AuthorityRestTest.testDeleteAuthority ? IllegalState Failed to load Applicatio... AuthorityRestTest.testGetAllAuthorities ? IllegalState Failed to load Applicat... AuthorityRestTest.testGetSingleAuthority ? IllegalState Failed to load Applica... AuthorityRestTest.testReplaceAuthority ? IllegalState Failed to load Applicati... AuthorityRestTest.testUpdateAuthority ? IllegalState Failed to load Applicatio... GroupRestTest.testCreateGroup ? IllegalState Failed to load ApplicationContext GroupRestTest.testDeleteGroup ? IllegalState Failed to load ApplicationContext GroupRestTest.testGetAllGroups ? IllegalState Failed to load ApplicationContex... GroupRestTest.testGetSingleGroup ? IllegalState Failed to load ApplicationCont... GroupRestTest.testGroupNotFound ? IllegalState Failed to load ApplicationConte... GroupRestTest.testReplaceGroup ? IllegalState Failed to load ApplicationContex... GroupRestTest.testUpdateGroup ? IllegalState Failed to load ApplicationContext RoleRestTest.testCreateRole ? IllegalState Failed to load ApplicationContext RoleRestTest.testDeleteRole ? IllegalState Failed to load ApplicationContext RoleRestTest.testGetAllRoles ? IllegalState Failed to load ApplicationContext RoleRestTest.testGetSingleRole ? IllegalState Failed to load ApplicationContex... RoleRestTest.testReplaceRole ? IllegalState Failed to load ApplicationContext RoleRestTest.testRoleNotFound ? IllegalState Failed to load ApplicationContext RoleRestTest.testUpdateRole ? IllegalState Failed to load ApplicationContext UserRestTest.testAdminUserNotFound ? IllegalState Failed to load ApplicationCo... UserRestTest.testCreateAdminUser ? IllegalState Failed to load ApplicationCont... UserRestTest.testDeleteAdminUser ? IllegalState Failed to load ApplicationCont... UserRestTest.testGetAllAdminUsers ? IllegalState Failed to load ApplicationCon... UserRestTest.testGetSingleAdminUser ? IllegalState Failed to load ApplicationC... UserRestTest.testReplaceAdminUser ? IllegalState Failed to load ApplicationCon... UserRestTest.testUpdateAdminUser ? IllegalState Failed to load ApplicationCont... ContactRestTest.testContactNotFound ? IllegalState Failed to load ApplicationC... ContactRestTest.testCreateContact ? IllegalState Failed to load ApplicationCon... ContactRestTest.testDeleteContact ? IllegalState Failed to load ApplicationCon... ContactRestTest.testGetAllContacts ? IllegalState Failed to load ApplicationCo... ContactRestTest.testGetSingleContact ? IllegalState Failed to load Application... ContactRestTest.testReplaceContact ? IllegalState Failed to load ApplicationCo... ContactRestTest.testUpdateContact ? IllegalState Failed to load ApplicationCon... CustomerRestTest.testCreateCustomer ? IllegalState Failed to load ApplicationC... CustomerRestTest.testCustomerNotFound ? IllegalState Failed to load Applicatio... CustomerRestTest.testDeleteCustomer ? IllegalState Failed to load ApplicationC... CustomerRestTest.testGetAllCustomers ? IllegalState Failed to load Application... CustomerRestTest.testGetSingleCustomer ? IllegalState Failed to load Applicati... CustomerRestTest.testReplaceCustomer ? IllegalState Failed to load Application... CustomerRestTest.testSetAndDeleteParent ? IllegalState Failed to load Applicat... CustomerRestTest.testUpdateCustomer ? IllegalState Failed to load ApplicationC... CustomerUserRestTest.testCreateCustomerUser ? IllegalState Failed to load Appl... CustomerUserRestTest.testCustomerUserNotFound ? IllegalState Failed to load Ap... CustomerUserRestTest.testDeleteCustomerUser ? IllegalState Failed to load Appl... CustomerUserRestTest.testGetAllCustomerUsers ? IllegalState Failed to load App... CustomerUserRestTest.testGetSingleCustomerUser ? IllegalState Failed to load A... CustomerUserRestTest.testReplaceCustomerUser ? IllegalState Failed to load App... CustomerUserRestTest.testUpdateCustomerUser ? IllegalState Failed to load Appl... DashboardBoxRestTest.testCreateDashboardBox ? IllegalState Failed to load Appl... DashboardBoxRestTest.testDashboardBoxNotFound ? IllegalState Failed to load Ap... DashboardBoxRestTest.testDeleteDashboardBox ? IllegalState Failed to load Appl... DashboardBoxRestTest.testGetAllDashboardBoxes ? IllegalState Failed to load Ap... DashboardBoxRestTest.testGetSingleDashboardBox ? IllegalState Failed to load A... DashboardBoxRestTest.testReplaceDashboardBox ? IllegalState Failed to load App... DashboardBoxRestTest.testUpdateDashboardBox ? IllegalState Failed to load Appl... DashboardBoxTypeRestTest.testCreateDashboardBoxType ? IllegalState Failed to l... DashboardBoxTypeRestTest.testDashboardBoxTypeNotFound ? IllegalState Failed to... DashboardBoxTypeRestTest.testDeleteDashboardBoxType ? IllegalState Failed to l... DashboardBoxTypeRestTest.testGetAllDashboardBoxTypes ? IllegalState Failed to ... DashboardBoxTypeRestTest.testGetSingleDashboardBoxType ? IllegalState Failed t... DashboardBoxTypeRestTest.testReplaceDashboardBoxType ? IllegalState Failed to ... DashboardBoxTypeRestTest.testUpdateDashboardBoxType ? IllegalState Failed to l... DashboardRestTest.testCreateDashboard ? IllegalState Failed to load Applicatio... DashboardRestTest.testDashboardNotFound ? IllegalState Failed to load Applicat... DashboardRestTest.testDeleteDashboard ? IllegalState Failed to load Applicatio... DashboardRestTest.testGetAllDashboards ? IllegalState Failed to load Applicati... DashboardRestTest.testGetSingleDashboard ? IllegalState Failed to load Applica... DashboardRestTest.testReplaceDashboard ? IllegalState Failed to load Applicati... DashboardRestTest.testUpdateDashboard ? IllegalState Failed to load Applicatio... AdminAccessTest.testAdminCreateAccess ? IllegalState Failed to load Applicatio... AdminAccessTest.testAdminDeleteAccess ? IllegalState Failed to load Applicatio... AdminAccessTest.testAdminReadAccess ? IllegalState Failed to load ApplicationC... AdminAccessTest.testAdminWriteAccess ? IllegalState Failed to load Application... DemoAccessTest.testDemoCreateAccess ? IllegalState Failed to load ApplicationC... DemoAccessTest.testDemoDeleteAccess ? IllegalState Failed to load ApplicationC... DemoAccessTest.testDemoReadAccess ? IllegalState Failed to load ApplicationCon... DemoAccessTest.testDemoWriteAccess ? IllegalState Failed to load ApplicationCo... UserAccessTest.testUserCreateAccess ? IllegalState Failed to load ApplicationC... UserAccessTest.testUserDeleteAccess ? IllegalState Failed to load ApplicationC... UserAccessTest.testUserReadAccess ? IllegalState Failed to load ApplicationCon... UserAccessTest.testUserWriteAccess ? IllegalState Failed to load ApplicationCo... StaticResourceServiceUnitTest.io.smsc.service.StaticResourceServiceUnitTest ? ExceptionInInitializer EncrypterUtilEncryptionTest.initializationError ? Objenesis java.lang.reflect.... EncrypterUtilHashingTest.testHashPasswordWithBCrypt ? IllegalState Failed to l... ServiceUtilUnitTest.getUserRepositoryBean ? IllegalState Failed to load Applic... Tests run: 245, Failures: 0, Errors: 131, Skipped: 0

Angular Base Code Error

`##################) ⠧ reify:rxjs: timing reifyNode:node_modules/caniuse-db Completed in 14424ms
npm ERR! code SELF_SIGNED_CERT_IN_CHAIN
npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN
npm ERR! request to https://codeload.github.com/amcharts/ammap3/tar.gz/df2fbb67bc25a11e2ebbe553f08786e806a8ea19 failed, reason: self signed certificate in certificate chain

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ts-abdelaziz.allam/.npm/_logs/2022-09-28T09_14_50_591Z-debug-0.log`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant