Module not found: Error: Recursion in resolving - jwt

While running ng test, in Angular 9+ version, I am getting error.
ERROR in ./node_modules/#auth0/angular-jwt/__ivy_ngcc__/src/jwt.interceptor.js
Module not found: Error: Recursion in resolving
Stack:
I am using below configuration:

Related

Compilation error: Could not build Objective-C module '_MapKit_SwiftUI'

I am trying to compile my project and I have always this error:
Could not build Objective-C module '_MapKit_SwiftUI'
And
Header '_MapKit_SwiftUI-Swift.h' not found
What can I do to solve this issue?

Java 17 upgrade - error: package com.sun.javadoc does not exist

While upgrading to jdk17 getting this blocker any hacks? please comment.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project test: Compilation failure: Compilation failure:
[ERROR] C:\Users\test\git\java\com\util\test.java:[31,22] error: package com.sun.javadoc does not exist
The com.sun.javadoc package was deprecated in Java 11, and has been removed for Java 17. Your code must be updated. Please refer to the migration guide for package jdk.javadoc.doclet for replacement APIs.

Unable to run the gatling test (jvm issue)

I am trying to run the gatling test on MacOS.
Java version: openjdk version "1.8.0_275"
scala version: 2.12.12
sbt version :1.4.4
I am unable to run my tests because of this error. I have tried changing the java versions(recommended one) and tried reinstalling the sbt as well.
The error log is as follows:
Unrecognized VM option 'AggressiveOpts'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
[error] Could not accept connection from test agent: class java.net.SocketException: Socket closed
[error] java.net.SocketException: Socket closed
[error] at java.base/sun.nio.ch.NioSocketImpl.endAccept(NioSocketImpl.java:689)
[error] at java.base/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:762)
[error] at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:684)
[error] at java.base/java.net.ServerSocket.platformImplAccept(ServerSocket.java:650)
[error] at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:626)
[error] at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:583)
[error] at java.base/java.net.ServerSocket.accept(ServerSocket.java:540)
[error] at sbt.ForkTests$Acceptor$1$.run(ForkTests.scala:71)
[error] at java.base/java.lang.Thread.run(Thread.java:832)
I would appreciate your feedback on this. Thank you.
There's no way you're using Java 8 as indicated, as your stacktrace clearly shows Jigsaw modules (java.base/). You're using Java 9 or older.
What happens is that the test forked JVM crashes on boot because it's being passed the AggressiveOpts option that was dropped after Java 8.
This option was removed in recent versions of Gatling's sbt plugin, meaning that you're using an older version.
In short: update your sbt plugin version.

PDE headless build issues with eclipse RCP migration from 3.7.2 to 4.3.2

We are in the process of migrating our application from 3.7.2 to 4.3.2, but facing few issues during pde-build. Though I can get the application to build and launch and work well from the Eclipse 4.3.2 IDE itself, the command line build fails with messages about many missing plugins, compile failures etc.
In the log file there are lots of missing plugin messages, but the Eclipse 4.3.2 folder I am providing for the pde build has all these missing jars in it's plugins folder. I have confirmed this by searching for the actual jar names in the Eclipse SDK directory unzipped by the build for its later consumption.
These are the messages from the log after the pde-build target is run:
[eclipse.generateFeature] Some inter-plug-in dependencies have not been satisfied.
[eclipse.generateFeature] Bundle org.eclipse.cdt.core.nl1:
[eclipse.generateFeature] Host plug-in org.eclipse.cdt.core_[5.5.0,5.6.0) has not been found.
[eclipse.generateFeature] Bundle org.eclipse.cdt.core.nl2a:
[eclipse.generateFeature] Host plug-in org.eclipse.cdt.core_[5.5.0,5.6.0) has not been found.
[eclipse.generateFeature] Bundle org.eclipse.cdt.core.nl2:
[eclipse.generateFeature] Host plug-in org.eclipse.cdt.core_[5.5.0,5.6.0) has not been found.
[eclipse.generateFeature] Bundle org.eclipse.cdt.core.nlBidi:
[eclipse.generateFeature] Host plug-in org.eclipse.cdt.core_[5.5.0,5.6.0) has not been found.
[eclipse.generateFeature] Bundle org.eclipse.cdt.debug.core.nl1:
[eclipse.generateFeature] Host plug-in org.eclipse.cdt.debug.core_[7.3.0,7.4.0) has not been found.
[eclipse.generateFeature] Bundle org.eclipse.cdt.debug.core.nl2a:
[eclipse.generateFeature] Host plug-in org.eclipse.cdt.debug.core_[7.3.0,7.4.0) has not been found.
[eclipse.generateFeature] Bundle org.eclipse.cdt.debug.core.nl2:
[eclipse.generateFeature] Host plug-in org.eclipse.cdt.debug.core_[7.3.0,7.4.0) has not been found.
I also get errors related to compile failures after all those missing plugin messages:
[83 units compiled]
[javac] ----------
[javac] 1. ERROR in C:\vobs\chechand_CM_cm521\vobs\build\toolkit\plugins\com.app.ecm.configmgr.engine\src\com\app\ecm\configmgr\engine\util\XmlDoc.java (at line 0)
[javac] /* app Confidential
[javac] ^
[javac] ***The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class files***
*[javac] ----------
[javac] 1 problem (1 error)
[javac] Compilation failed. Compiler errors are available in C:\vobs\chechand_CM_cm521\vobs\build\toolkit\plugins\com.app.ecm.configmgr.engine/#dot.log
BUILD FAILED
C:\Users\Administrator\chechand_Common_3PT_3\vobs\fnet_3pt\eclipse\4.3.2\eclipse\plugins\org.eclipse.pde.build_3.8.100.v20130514-1028\scripts\productBuild\productBuild.xml:43: The following error occurred while executing this line:
C:\Users\Administrator\chechand_Common_3PT_3\vobs\fnet_3pt\Eclipse\4.3.2\eclipse\plugins\org.eclipse.pde.build_3.8.100.v20130514-1028\scripts\build.xml:105: The following error occurred while executing this line:
C:\Users\Administrator\chechand_Common_3PT_3\vobs\fnet_3pt\Eclipse\4.3.2\eclipse\plugins\org.eclipse.pde.build_3.8.100.v20130514-1028\templates\headless-build\customTargets.xml:12: The following error occurred while executing this line:
C:\Users\Administrator\chechand_Common_3PT_3\vobs\fnet_3pt\Eclipse\4.3.2\eclipse\plugins\org.eclipse.pde.build_3.8.100.v20130514-1028\scripts\productBuild\allElements.xml:20: The following error occurred while executing this line:
C:\Users\Administrator\chechand_Common_3PT_3\vobs\fnet_3pt\Eclipse\4.3.2\eclipse\plugins\org.eclipse.pde.build_3.8.100.v20130514-1028\scripts\genericTargets.xml:118: The following error occurred while executing this line:
C:\Users\Administrator\chechand_Common_3PT_3\vobs\fnet_3pt\Eclipse\4.3.2\eclipse\plugins\org.eclipse.pde.build_3.8.100.v20130514-1028\scripts\genericTargets.xml:123: The following error occurred while executing this line:
C:\vobs\chechand_CM_cm521\vobs\build\toolkit\features\org.eclipse.pde.build.container.feature\build.xml:30: The following error occurred while executing this line:
C:\vobs\chechand_CM_cm521\vobs\build\toolkit\features\org.eclipse.pde.build.container.feature\build.xml:16: The following error occurred while executing this line:
C:\vobs\chechand_CM_cm521\vobs\build\toolkit\features\com.app.ecm.configmgr.ui.feature\build.xml:63: The following error occurred while executing this line:
C:\vobs\chechand_CM_cm521\vobs\build\toolkit\features\com.app.ecm.configmgr.ui.feature\build.xml:19: The following error occurred while executing this line:
C:\vobs\chechand_CM_cm521\vobs\build\toolkit\plugins\com.app.ecm.configmgr.engine\build.xml:329: The following error occurred while executing this line:
C:\vobs\chechand_CM_cm521\vobs\build\toolkit\plugins\com.app.ecm.configmgr.engine\build.xml:290: Compile failed; see the compiler error output for details.
I have searched through the forum but didn't find anything related to issues I am facing.
Edit: I have added Bundle-RequiredExecutionEnvironment= JavaSE-1.7 in my MANIFEST.MF for my product but I still face this issue.
Thank you for the help.

NoSuchMethodError with Play

I encountered a strange error with Play.
All my tests are OK, but when I run, I have the following error :
java.lang.NoSuchMethodError: controllers.package$.tuple2Writes(Lplay/api/libs/json/Writes;Lplay/api/libs/json/Writes;)Lplay/api/libs/json/Writes;
This method is defined in a package object.
sbt clean doesn't fix