Edoardo Luppi
Edoardo Luppi
> What is the exact error?  > mvn clean install Yes it works 👀 ``` [INFO] Fetching p2.index from https://download.eclipse.org/releases/2022-06/ (122B) [INFO] Adding repository https://download.eclipse.org/releases/2022-06 [INFO] Fetching compositeContent.jar from...
It seems like there is no `MetadataRepositoryFactory` that actually checks remote URIs. All the ones I've seen check local JARs. > java.lang.NoClassDefFoundError: Could not initialize class org.apache.hc.client5.http.psl.PublicSuffixMatcherLoader
Got to the original error: > loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()' the class loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @58d82974 of the current class, org/slf4j/LoggerFactory, and the class loader 'app' for...
@laeubi yeah, probably. Do you think workarounds exists for this issue? Like for example manually loading the same class files in the `EquinoxClassLoader` classloader.
@bric3 so there is a little difference here regarding how IntelliJ spawns the Maven server. It's not really a plugin, but it seems a new instance of the JVM is...
 Then, a `DefaultPlexusContainer` spawned with that `AppClassLoader` is used to read lifecycle partecipants. 
Yep, confirmed. 
I'm trying out again IDEA. I'm receiving exceptions like this one: ``` java.lang.RuntimeException: Failed to load p2 repository with ID 'dtp' from location http://my-url:8081/nexus/content/repositories/zeus/ at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.loadMetadataRepository(TargetPlatformFactoryImpl.java:297) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.gatherExternalInstallableUnits(TargetPlatformFactoryImpl.java:267) at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform(TargetPlatformFactoryImpl.java:169)...
@laeubi in the end it was still related to > java.lang.NoClassDefFoundError: Could not initialize class org.apache.hc.client5.http.psl.PublicSuffixMatcherLoader What I'm doing now is use offline `p2` repositories only, so no HTTP client...
Additional detail: happens only when ASCII style is used.