Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I get a java.lang.LinkageError or other class loader errors when using the GT4 provider. Why?

0
Posted

I get a java.lang.LinkageError or other class loader errors when using the GT4 provider. Why?

0

You are probably adding the provider jars to your classpath before starting the application. That interferes with the CoG class loading mechanism for providers. You should only add the jars from cog/lib to the classpath, and not jars from any sub-directory of cog/lib or any other directory in CoG. Versions after CoG 4.1.3 should display a clear error message when provider jars are added to the class path.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.