Edoardo Luppi

Results 438 comments of Edoardo Luppi
trafficstars

> What is the exact error? ![image](https://user-images.githubusercontent.com/19871649/174633788-ef7d53a7-8c01-4f69-b145-8c1c40230381.png) > 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...

![image](https://user-images.githubusercontent.com/19871649/175498009-4b22027e-94d6-4a74-9961-e2fcd91edc3b.png) Then, a `DefaultPlexusContainer` spawned with that `AppClassLoader` is used to read lifecycle partecipants. ![image](https://user-images.githubusercontent.com/19871649/175498456-4410b8ee-a829-4b23-8606-96e34a8e0c2d.png)

Yep, confirmed. ![image](https://user-images.githubusercontent.com/19871649/175500384-79ad3445-c982-4939-96a7-f21a0e007dfe.png)

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.