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

WAR deployment fails in TomEE #292

Open
kevin-uslu opened this issue May 16, 2023 · 1 comment
Open

WAR deployment fails in TomEE #292

kevin-uslu opened this issue May 16, 2023 · 1 comment
Assignees
Labels

Comments

@kevin-uslu
Copy link

Expected Behavior

WAR package should get deployed without issue.

Current Behavior

WAR package deployment fails with jclouds related stack trace.

org.apache.openejb.OpenEJBException: Can't find resource for class org.jclouds.suppliers.SupplyKeyMatchingValueOrNull#logger. (No provider available for resource-ref 'null' of type 'org.jclouds.logging.Logger' for 'pcsaas.Comp898652880'.)
...

stackTrace.log

Context

I am using Jenkins Rest Lib in my Spring App. Everything works from my IDE but when I try to deploy my WAR in a TomEE the startup fails with the following stack trace.

It seems to be originating from jclouds related dependencies but I don't have any good leads.
Any ideas ?

Steps to Reproduce (for bugs)

Package Spring app using Jenkins REST library as WAR and deploy it in TomEE.

Your Environment

Spring Version : 2.7.11
TomEE Version : Apache Tomcat (TomEE)/9.0.71 (8.0.14)

Jenkins Rest dpendency declared as below :

<dependency>
	<groupId>io.github.cdancy</groupId>
	<artifactId>jenkins-rest</artifactId>
	<version>1.0.2</version>
	<classifier>all</classifier>
</dependency>
@cdancy
Copy link
Owner

cdancy commented May 24, 2023

@kevin-uslu hmmm ... I've never seen this one before. Do you know if there are other jclouds dependencies being brought in to your deployment?

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

No branches or pull requests

3 participants