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

broken dependency in digdag-client #1772

Open
yoyama opened this issue Nov 16, 2022 · 0 comments
Open

broken dependency in digdag-client #1772

yoyama opened this issue Nov 16, 2022 · 0 comments

Comments

@yoyama
Copy link
Contributor

yoyama commented Nov 16, 2022

I got a report from TD internal about broken dependency of digdag-client.
It may need javax.servlet-api as dependency.
Need an investigation and fix it if needed.

When a user try to call io.digdag.client.DigdagClient.getProject(String), it failed as follows

NoClassDefFoundError was found with message javax/servlet/ServletContextjava.lang.NoClassDefFoundError: javax/servlet/ServletContext

---- Debugging information ----
* trace-exception   : java.lang.NoClassDefFoundError 
	at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.getMaxSize(GZIPDecodingInterceptor.java:135)
	at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:107)
	at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:59)
	at org.jboss.resteasy.client.jaxrs.internal.ClientResponse.readFrom(ClientResponse.java:266)
	at org.jboss.resteasy.client.jaxrs.internal.ClientResponse.readEntity(ClientResponse.java:196)
	at org.jboss.resteasy.specimpl.BuiltResponse.readEntity(BuiltResponse.java:218)
	at io.digdag.client.DigdagClient.doGet(DigdagClient.java:958)
	at io.digdag.client.DigdagClient.getProject(DigdagClient.java:292)
	at com.treasuredata.tdautomation.equipments.DigDagClientHandler.projectByNameLocal(DigDagClientHandler.java:232)
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