jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.55k stars 4.02k forks source link

ERROR! Command failed with exit code 1: npm run clean-www #16591

Closed ArthurMiller closed 2 years ago

ArthurMiller commented 3 years ago

sh: rimraf: command not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! bnplgateway@0.0.1-SNAPSHOT clean-www: rimraf build/resources/main/static/app/{src,build/} npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the bnplgateway@0.0.1-SNAPSHOT clean-www script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! /Users/arthurmiller/.npm/_logs/2021-10-06T18_47_49_260Z-debug.log ERROR! Command failed with exit code 1: npm run clean-www Error: Command failed with exit code 1: npm run clean-www at makeError (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/execa/lib/error.js:59:11) at Function.module.exports.sync (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/execa/index.js:188:17) at JHipsterClientGenerator.spawnCommand.spawnCommandSync (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/yeoman-generator/lib/actions/spawn-command.js:35:16) at JHipsterClientGenerator.end (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/generators/client/index.js:392:16) at Object. (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/yeoman-generator/lib/index.js:1024:25) at /usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/run-async/index.js:49:25 at new Promise () at /usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/run-async/index.js:26:19 at runLoop.add.once.once (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/yeoman-generator/lib/index.js:1025:11) at Immediate. (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/grouped-queue/lib/subqueue.js:48:34) { shortMessage: 'Command failed with exit code 1: npm run clean-www', command: 'npm run clean-www', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: undefined, stderr: undefined, failed: true, timedOut: false, isCanceled: false, killed: false }

Overview of the issue

Running the JHipster generator and creating a GW application with all the standard options but it keeps erroring:

WARNING! Java 8, 11, 12, 13, 14, 15 or 16 are not found on your computer. Your Java version is: 17 ? Which type of application would you like to create? Gateway application ? What is the base name of your application? bnplgateway ? As you are running in a microservice architecture, on which port would like your server to run? It should be unique to avoid port conflicts. 8080 ? What is your default Java package name? com.equipifi.bnpl.gateway ? Which service discovery server do you want to use? No service discovery ? Which type of authentication would you like to use? OAuth 2.0 / OIDC Authentication (stateful, works with Keycloak and Okt a) ? Which type of database would you like to use? SQL (H2, PostgreSQL, MySQL, MariaDB, Oracle, MSSQL) ? Which production database would you like to use? PostgreSQL ? Which development database would you like to use? H2 with in-memory persistence ? Which cache do you want to use? (Spring cache abstraction) Hazelcast (distributed cache, for multiple nodes, supports rate-l imiting for gateway applications) ? Do you want to use Hibernate 2nd level cache? Yes ? Would you like to use Maven or Gradle for building the backend? Gradle ? Which other technologies would you like to use? Elasticsearch as search engine, Apache Kafka as asynchronous messages broker , API first development using OpenAPI-generator ? Which Framework would you like to use for the client? React ? Do you want to generate the admin UI? Yes ? Would you like to use a Bootswatch theme (https://bootswatch.com/)? Cosmo ? Choose a Bootswatch variant navbar theme (https://bootswatch.com/)? Primary ? Would you like to enable internationalization support? Yes ? Please choose the native language of the application English ? Please choose additional languages to install Spanish info Disabling hibernate cache for cache provider no ? Besides JUnit and Jest, which testing frameworks would you like to use? Cypress, Gatling, Cucumber ? Would you like to install other generators from the JHipster Marketplace? No Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 99,999 days for: CN=Java Hipster, OU=Development, O=com.equipifi.bnpl.gateway, L=, ST=, C=

Motivation for or Use Case

Initial build and run failing out of the box.

Reproduce the error

Building on OSX with installed jhipster through homebrew

Related issues

I have not seen it reported yet.

Suggest a Fix

unknown

JHipster Version(s)

v7.2.0

JHipster configuration

WARNING! Java 8, 11, 12, 13, 14, 15 or 16 are not found on your computer. Your Java version is: 17 ? Which type of application would you like to create? Gateway application ? What is the base name of your application? bnplgateway ? As you are running in a microservice architecture, on which port would like your server to run? It should be unique to avoid port conflicts. 8080 ? What is your default Java package name? com.equipifi.bnpl.gateway ? Which service discovery server do you want to use? No service discovery ? Which type of authentication would you like to use? OAuth 2.0 / OIDC Authentication (stateful, works with Keycloak and Okt a) ? Which type of database would you like to use? SQL (H2, PostgreSQL, MySQL, MariaDB, Oracle, MSSQL) ? Which production database would you like to use? PostgreSQL ? Which development database would you like to use? H2 with in-memory persistence ? Which cache do you want to use? (Spring cache abstraction) Hazelcast (distributed cache, for multiple nodes, supports rate-l imiting for gateway applications) ? Do you want to use Hibernate 2nd level cache? Yes ? Would you like to use Maven or Gradle for building the backend? Gradle ? Which other technologies would you like to use? Elasticsearch as search engine, Apache Kafka as asynchronous messages broker , API first development using OpenAPI-generator ? Which Framework would you like to use for the client? React ? Do you want to generate the admin UI? Yes ? Would you like to use a Bootswatch theme (https://bootswatch.com/)? Cosmo ? Choose a Bootswatch variant navbar theme (https://bootswatch.com/)? Primary ? Would you like to enable internationalization support? Yes ? Please choose the native language of the application English ? Please choose additional languages to install Spanish info Disabling hibernate cache for cache provider no ? Besides JUnit and Jest, which testing frameworks would you like to use? Cypress, Gatling, Cucumber ? Would you like to install other generators from the JHipster Marketplace? No Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 99,999 days for: CN=Java Hipster, OU=Development, O=com.equipifi.bnpl.gateway, L=, ST=, C=

**NOTE: This is not building: arthurmiller@Arthurs-MacBook-Pro bnplgateway % ./gradlew --stacktrace

FAILURE: Build failed with an exception.

java.lang.IllegalArgumentException: Unsupported class file major version 61 at groovyjarjarasm.asm.ClassReader.(ClassReader.java:189) at groovyjarjarasm.asm.ClassReader.(ClassReader.java:170) at groovyjarjarasm.asm.ClassReader.(ClassReader.java:156) at groovyjarjarasm.asm.ClassReader.(ClassReader.java:277) at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:81) at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:251) at org.codehaus.groovy.control.ClassNodeResolver.tryAsLoaderClassOrScript(ClassNodeResolver.java:189) at org.codehaus.groovy.control.ClassNodeResolver.findClassNode(ClassNodeResolver.java:169) at org.codehaus.groovy.control.ClassNodeResolver.resolveName(ClassNodeResolver.java:125) at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClassNullable(AsmReferenceResolver.java:57) at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClass(AsmReferenceResolver.java:44) at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveNonArrayType(AsmReferenceResolver.java:79) at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveType(AsmReferenceResolver.java:70) at org.codehaus.groovy.ast.decompiled.MemberSignatureParser.createMethodNode(MemberSignatureParser.java:57) at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.lambda$createMethodNode$1(DecompiledClassNode.java:230) at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.createMethodNode(DecompiledClassNode.java:236) at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.lazyInitMembers(DecompiledClassNode.java:203) at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.getDeclaredMethods(DecompiledClassNode.java:122) at org.codehaus.groovy.ast.ClassNode.tryFindPossibleMethod(ClassNode.java:1283) at org.codehaus.groovy.control.StaticImportVisitor.transformMethodCallExpression(StaticImportVisitor.java:251) at org.codehaus.groovy.control.StaticImportVisitor.transform(StaticImportVisitor.java:133) at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:108) at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:138) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:111) at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitConstructorOrMethod(ClassCodeExpressionTransformer.java:66) at org.codehaus.groovy.control.StaticImportVisitor.visitConstructorOrMethod(StaticImportVisitor.java:108) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructor(ClassCodeVisitorSupport.java:101) at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1089) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:52) at org.codehaus.groovy.control.CompilationUnit.lambda$addPhaseOperations$3(CompilationUnit.java:209) at org.codehaus.groovy.control.CompilationUnit$IPrimaryClassNodeOperation.doPhaseOperation(CompilationUnit.java:942) at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:671) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:635) at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:389) at groovy.lang.GroovyClassLoader.lambda$parseClass$3(GroovyClassLoader.java:332) at org.codehaus.groovy.runtime.memoize.StampedCommonCache.compute(StampedCommonCache.java:163) at org.codehaus.groovy.runtime.memoize.StampedCommonCache.getAndPut(StampedCommonCache.java:154) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:330) at org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler.compileScript(DefaultScriptCompilationHandler.java:139) at org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler.compileToDir(DefaultScriptCompilationHandler.java:95) at org.gradle.groovy.scripts.internal.BuildOperationBackedScriptCompilationHandler$2.run(BuildOperationBackedScriptCompilationHandler.java:54) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26) at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75) at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68) at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56) at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71) at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71) at org.gradle.groovy.scripts.internal.BuildOperationBackedScriptCompilationHandler.compileToDir(BuildOperationBackedScriptCompilationHandler.java:51) at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler$CompileToCrossBuildCacheAction.execute(FileCacheBackedScriptClassCompiler.java:190) at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler$CompileToCrossBuildCacheAction.execute(FileCacheBackedScriptClassCompiler.java:170) at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler$ProgressReportingInitializer.execute(FileCacheBackedScriptClassCompiler.java:211) at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler$ProgressReportingInitializer.execute(FileCacheBackedScriptClassCompiler.java:194) at org.gradle.cache.internal.DefaultPersistentDirectoryCache$Initializer.initialize(DefaultPersistentDirectoryCache.java:100) at org.gradle.cache.internal.FixedSharedModeCrossProcessCacheAccess$1.run(FixedSharedModeCrossProcessCacheAccess.java:86) at org.gradle.cache.internal.DefaultFileLockManager$DefaultFileLock.doWriteAction(DefaultFileLockManager.java:216) at org.gradle.cache.internal.DefaultFileLockManager$DefaultFileLock.writeFile(DefaultFileLockManager.java:206) at org.gradle.cache.internal.FixedSharedModeCrossProcessCacheAccess.open(FixedSharedModeCrossProcessCacheAccess.java:83) at org.gradle.cache.internal.DefaultCacheAccess.open(DefaultCacheAccess.java:139) at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:89) at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:43) at org.gradle.cache.internal.DefaultCacheFactory.doOpen(DefaultCacheFactory.java:103) at org.gradle.cache.internal.DefaultCacheFactory.open(DefaultCacheFactory.java:68) at org.gradle.cache.internal.DefaultCacheRepository$PersistentCacheBuilder.open(DefaultCacheRepository.java:126) at org.gradle.groovy.scripts.internal.FileCacheBackedScriptClassCompiler.compile(FileCacheBackedScriptClassCompiler.java:116) at org.gradle.groovy.scripts.internal.CrossBuildInMemoryCachingScriptClassCache.getOrCompile(CrossBuildInMemoryCachingScriptClassCache.java:50) at org.gradle.groovy.scripts.internal.BuildScopeInMemoryCachingScriptClassCompiler.compile(BuildScopeInMemoryCachingScriptClassCompiler.java:50) at org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.compile(DefaultScriptCompilerFactory.java:49) at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:110) at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:65) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26) at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75) at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68) at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56) at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71) at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71) at org.gradle.configuration.BuildOperationScriptPlugin.lambda$apply$0(BuildOperationScriptPlugin.java:62) at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:43) at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:62) at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$0(DefaultProjectStateRegistry.java:250) at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:277) at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:249) at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:42) at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26) at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:35) at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.lambda$run$0(LifecycleProjectEvaluator.java:100) at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$0(DefaultProjectStateRegistry.java:250) at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$withProjectLock$3(DefaultProjectStateRegistry.java:310) at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:213) at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withProjectLock(DefaultProjectStateRegistry.java:310) at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:291) at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:249) at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.run(LifecycleProjectEvaluator.java:91) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26) at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75) at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68) at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56) at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71) at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71) at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:63) at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:723) at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:150) at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:41) at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:67) at org.gradle.configuration.DefaultProjectsPreparer.prepareProjects(DefaultProjectsPreparer.java:46) at org.gradle.configuration.BuildTreePreparingProjectsPreparer.prepareProjects(BuildTreePreparingProjectsPreparer.java:64) at org.gradle.configuration.BuildOperationFiringProjectsPreparer$ConfigureBuild.run(BuildOperationFiringProjectsPreparer.java:52) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26) at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75) at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68) at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56) at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71) at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71) at org.gradle.configuration.BuildOperationFiringProjectsPreparer.prepareProjects(BuildOperationFiringProjectsPreparer.java:40) at org.gradle.initialization.DefaultGradleLauncher.prepareProjects(DefaultGradleLauncher.java:226) at org.gradle.initialization.DefaultGradleLauncher.doClassicBuildStages(DefaultGradleLauncher.java:164) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149) at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:125) at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:71) at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:213) at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:67) at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:56) at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:31) at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35) at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:66) at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32) at org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:90) at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41) at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:49) at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:44) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195) at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75) at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68) at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62) at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76) at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76) at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:44) at org.gradle.launcher.exec.InProcessBuildActionExecuter.lambda$execute$0(InProcessBuildActionExecuter.java:59) at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:86) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:58) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30) at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.lambda$execute$0(BuildTreeScopeLifecycleBuildActionExecuter.java:34) at org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:53) at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:33) at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:28) at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:104) at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:55) at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:64) at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:37) at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.lambda$execute$0(SessionScopeLifecycleBuildActionExecuter.java:54) at org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:67) at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:50) at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:36) at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36) at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25) at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59) at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31) at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:58) at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:42) at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47) at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31) at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78) at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75) at org.gradle.util.Swapper.swap(Swapper.java:38) at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104) at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52) at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56) at java.base/java.lang.Thread.run(Thread.java:833)

1 error

    at org.gradle.groovy.scripts.internal.DefaultScriptCompilationHandler.compileScript(DefaultScriptCompilationHandler.java:139)
    ... 168 more

BUILD FAILED in 997ms arthurmiller@Arthurs-MacBook-Pro bnplgateway %

Entity configuration(s) entityName.json files generated in the .jhipster directory

N/A

Browsers and Operating System

OSX no browser, this is failing through the command-line-interface

atomfrede commented 3 years ago

Can you check if it works with java 16? We do not officially support java 17 yet.

ArthurMiller commented 3 years ago

I'll check now and let you know in just a few.

ArthurMiller commented 3 years ago

I ran this again using java 16 and coming up with another error:

Welcome to JHipster v7.2.0 Application files will be generated in folder: /Users/arthurmiller/Desktop/okta_test/gateway


Documentation for creating an application is at https://www.jhipster.tech/creating-an-app/ If you find JHipster useful, consider sponsoring the project at https://opencollective.com/generator-jhipster


? Which type of application would you like to create? Gateway application ? What is the base name of your application? gateway ? As you are running in a microservice architecture, on which port would like yo ur server to run? It should be unique to avoid port conflicts. 8080 ? What is your default Java package name? com.mycompany.myapp ? Which service discovery server do you want to use? No service discovery ? Which type of authentication would you like to use? OAuth 2.0 / OIDC Authent ication (stateful, works with Keycloak and Okta) ? Which type of database would you like to use? SQL (H2, PostgreSQL, MySQL, Ma riaDB, Oracle, MSSQL) ? Which production database would you like to use? PostgreSQL ? Which development database would you like to use? H2 with in-memory persiste nce ? Which cache do you want to use? (Spring cache abstraction) Hazelcast (distribu ted cache, for multiple nodes, supports rate-limiting for gateway applications) ? Do you want to use Hibernate 2nd level cache? Yes ? Would you like to use Maven or Gradle for building the backend? Gradle ? Which other technologies would you like to use? API first development using Op enAPI-generator ? Which Framework would you like to use for the client? React ? Do you want to generate the admin UI? Yes ? Would you like to use a Bootswatch theme (https://bootswatch.com/)? Cosmo ? Choose a Bootswatch variant navbar theme (https://bootswatch.com/)? Primary ? Would you like to enable internationalization support? Yes ? Please choose the native language of the application English ? Please choose additional languages to install Spanish info Disabling hibernate cache for cache provider no ? Besides JUnit and Jest, which testing frameworks would you like to use? Cypres s, Gatling, Cucumber ? Would you like to install other generators from the JHipster Marketplace? No Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 99,999 days for: CN=Java Hipster, OU=Development, O=com.mycompany.myapp, L=, ST=, C=

KeyStore 'src/main/resources/config/tls/keystore.p12' generated successfully.

create .prettierrc create .prettierignore create .gitattributes jsxBracketSameLine is deprecated. create .editorconfig create package.json create .gitignore force .yo-rc-global.json create sonar-project.properties force .yo-rc.json create gradlew create gradlew.bat create gradle/wrapper/gradle-wrapper.jar create src/main/resources/banner.txt create src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml create src/main/resources/config/liquibase/master.xml create src/main/docker/jib/entrypoint.sh create checkstyle.xml create build.gradle create settings.gradle create gradle.properties create gradle/sonar.gradle create gradle/docker.gradle create gradle/profile_dev.gradle create gradle/profile_prod.gradle create gradle/war.gradle create gradle/zipkin.gradle create gradle/wrapper/gradle-wrapper.properties create gradle/swagger.gradle create src/main/resources/logback-spring.xml create src/main/resources/i18n/messages.properties create src/main/resources/.h2.server.properties create src/main/docker/app.yml create src/main/docker/keycloak.yml create src/main/docker/jhipster-control-center.yml create src/main/docker/realm-config/jhipster-realm.json create src/main/docker/sonar.yml create src/main/docker/monitoring.yml create src/main/docker/realm-config/jhipster-users-0.json create src/main/docker/prometheus/prometheus.yml create src/main/docker/grafana/provisioning/dashboards/dashboard.yml create src/main/docker/grafana/provisioning/dashboards/JVM.json create src/main/docker/grafana/provisioning/datasources/datasource.yml create src/main/resources/templates/error.html create src/main/docker/postgresql.yml create src/main/resources/config/application-prod.yml create src/main/docker/central-server-config/README.md create src/main/docker/swagger-editor.yml create src/main/resources/swagger/api.yml create src/main/resources/config/application.yml create src/main/resources/config/application-dev.yml create src/main/resources/config/application-tls.yml create src/main/resources/config/bootstrap.yml create src/main/resources/config/bootstrap-prod.yml create src/test/resources/META-INF/services/reactor.blockhound.integration.BlockHoundIntegration create src/main/java/com/mycompany/myapp/security/SecurityUtils.java create src/main/java/com/mycompany/myapp/security/AuthoritiesConstants.java create src/main/java/com/mycompany/myapp/web/rest/GatewayResource.java create src/main/java/com/mycompany/myapp/config/WebConfigurer.java create src/main/java/com/mycompany/myapp/repository/package-info.java create src/main/java/com/mycompany/myapp/security/package-info.java create src/main/java/com/mycompany/myapp/web/rest/AuthInfoResource.java create src/main/java/com/mycompany/myapp/GeneratedByJHipster.java create src/main/java/com/mycompany/myapp/config/Constants.java create src/main/java/com/mycompany/myapp/service/package-info.java create src/main/java/com/mycompany/myapp/web/rest/LogoutResource.java create src/main/java/com/mycompany/myapp/aop/logging/LoggingAspect.java create src/main/java/com/mycompany/myapp/web/rest/errors/package-info.java create src/main/java/com/mycompany/myapp/config/ReactorConfiguration.java create src/main/java/com/mycompany/myapp/config/apidocs/GatewaySwaggerResourcesProvider.java create src/main/java/com/mycompany/myapp/config/package-info.java create src/main/java/com/mycompany/myapp/config/SecurityConfiguration.java create src/main/java/com/mycompany/myapp/web/rest/errors/BadRequestAlertException.java create src/main/java/com/mycompany/myapp/config/CacheConfiguration.java create src/main/java/com/mycompany/myapp/security/oauth2/AudienceValidator.java create src/main/java/com/mycompany/myapp/web/filter/ModifyServersOpenApiFilter.java create src/main/java/com/mycompany/myapp/config/AsyncConfiguration.java create src/main/java/com/mycompany/myapp/web/rest/errors/ErrorConstants.java create src/test/resources/logback.xml create src/main/java/com/mycompany/myapp/config/DatabaseConfiguration.java create src/main/java/com/mycompany/myapp/security/oauth2/JwtGrantedAuthorityConverter.java create src/main/java/com/mycompany/myapp/config/DateTimeFormatConfiguration.java create src/main/java/com/mycompany/myapp/web/rest/errors/ExceptionTranslator.java create src/main/java/com/mycompany/myapp/config/LiquibaseConfiguration.java create src/main/java/com/mycompany/myapp/security/oauth2/OAuthIdpTokenResponseDTO.java create src/main/java/com/mycompany/myapp/config/LoggingConfiguration.java create src/main/java/com/mycompany/myapp/service/ColumnConverter.java create src/main/java/com/mycompany/myapp/web/rest/errors/FieldErrorVM.java create src/main/java/com/mycompany/myapp/config/ApplicationProperties.java create src/main/java/com/mycompany/myapp/service/EntityManager.java create src/test/gatling/conf/gatling.conf create src/main/java/com/mycompany/myapp/web/rest/vm/package-info.java create src/test/gatling/conf/logback.xml create src/main/java/com/mycompany/myapp/config/JacksonConfiguration.java create src/test/features/gitkeep create src/main/java/com/mycompany/myapp/repository/rowmapper/UserRowMapper.java create src/test/resources/cucumber.properties create src/main/java/com/mycompany/myapp/web/rest/package-info.java create src/main/resources/config/liquibase/data/user.csv create src/main/java/com/mycompany/myapp/config/OpenApiConfiguration.java create src/main/resources/config/liquibase/data/authority.csv create src/main/java/com/mycompany/myapp/GatewayApp.java create src/main/resources/config/liquibase/data/user_authority.csv create src/main/java/com/mycompany/myapp/config/LocaleConfiguration.java create src/main/java/com/mycompany/myapp/domain/package-info.java create src/main/java/com/mycompany/myapp/web/filter/SpaWebFilter.java create src/main/java/com/mycompany/myapp/web/rest/vm/RouteVM.java create src/main/java/com/mycompany/myapp/config/LoggingAspectConfiguration.java create src/main/java/com/mycompany/myapp/domain/AbstractAuditingEntity.java create src/main/java/com/mycompany/myapp/web/filter/OAuth2ReactiveRefreshTokensWebFilter.java create src/test/java/com/mycompany/myapp/security/SecurityUtilsUnitTest.java create src/test/java/com/mycompany/myapp/web/filter/ModifyServersOpenApiFilterTest.java create src/test/java/com/mycompany/myapp/config/apidocs/GatewaySwaggerResourcesProviderTest.java create src/test/java/com/mycompany/myapp/ReactiveSqlTestContainerExtension.java create src/test/java/com/mycompany/myapp/security/oauth2/AudienceValidatorTest.java create src/test/java/com/mycompany/myapp/config/TestSecurityConfiguration.java create src/test/java/com/mycompany/myapp/web/rest/LogoutResourceIT.java create src/test/java/com/mycompany/myapp/ArchTest.java create src/test/java/com/mycompany/myapp/config/JHipsterBlockHoundIntegration.java create src/test/java/com/mycompany/myapp/IntegrationTest.java create src/test/java/com/mycompany/myapp/test/util/OAuth2TestUtil.java create webpack/logo-jhipster.png create src/test/java/com/mycompany/myapp/web/rest/TestUtil.java create .npmrc create src/test/java/com/mycompany/myapp/web/rest/errors/ExceptionTranslatorIT.java create src/main/java/com/mycompany/myapp/domain/User.java create src/test/java/com/mycompany/myapp/web/rest/errors/ExceptionTranslatorTestController.java create src/main/java/com/mycompany/myapp/domain/Authority.java create src/test/resources/config/application.yml create src/main/java/com/mycompany/myapp/repository/AuthorityRepository.java create src/main/java/com/mycompany/myapp/service/UserService.java create src/test/resources/config/bootstrap.yml create src/test/java/com/mycompany/myapp/cucumber/CucumberIT.java create src/test/java/com/mycompany/myapp/cucumber/stepdefs/StepDefs.java create src/test/java/com/mycompany/myapp/cucumber/CucumberTestContextConfiguration.java create src/main/java/com/mycompany/myapp/repository/UserRepository.java create src/main/java/com/mycompany/myapp/web/rest/UserResource.java create src/main/java/com/mycompany/myapp/web/rest/PublicUserResource.java create src/main/java/com/mycompany/myapp/web/rest/vm/ManagedUserVM.java create src/main/java/com/mycompany/myapp/web/rest/AccountResource.java create src/main/java/com/mycompany/myapp/service/dto/package-info.java create src/main/java/com/mycompany/myapp/service/dto/AdminUserDTO.java create src/test/java/com/mycompany/myapp/web/rest/PublicUserResourceIT.java create src/main/java/com/mycompany/myapp/service/dto/UserDTO.java create src/main/java/com/mycompany/myapp/service/mapper/package-info.java create src/test/java/com/mycompany/myapp/web/rest/UserResourceIT.java create src/main/java/com/mycompany/myapp/service/mapper/UserMapper.java create src/test/java/com/mycompany/myapp/web/rest/AccountResourceIT.java create src/test/java/com/mycompany/myapp/web/rest/WithUnauthenticatedMockUser.java create src/test/java/com/mycompany/myapp/service/UserServiceIT.java create src/test/java/com/mycompany/myapp/service/mapper/UserMapperTest.java create .eslintrc.json create tsconfig.json create tsconfig.test.json create jest.conf.js create webpack/environment.js create webpack/webpack.prod.js create webpack/utils.js create postcss.config.js create webpack/webpack.common.js create webpack/webpack.dev.js create src/main/webapp/app/app.tsx create src/main/webapp/app/index.tsx create src/main/webapp/app/config/dayjs.ts create src/main/webapp/app/config/translation.ts create src/main/webapp/app/config/axios-interceptor.ts create src/main/webapp/app/app.scss create src/main/webapp/app/config/error-middleware.ts create src/main/webapp/app/_bootstrap-variables.scss create src/main/webapp/app/routes.tsx create src/main/webapp/content/images/jhipster_family_member_0.svg create src/main/webapp/app/config/logger-middleware.ts create src/main/webapp/content/images/jhipster_family_member_0_head-192.png create src/main/webapp/app/setup-tests.ts create src/main/webapp/content/images/jhipster_family_member_0_head-256.png create src/main/webapp/app/config/notification-middleware.ts create src/main/webapp/content/images/jhipster_family_member_0_head-384.png create src/main/webapp/app/config/store.ts create src/main/webapp/content/images/jhipster_family_member_0_head-512.png create src/main/webapp/app/typings.d.ts create src/main/webapp/content/images/jhipster_family_member_1.svg create src/main/webapp/app/config/constants.ts create src/main/webapp/content/images/jhipster_family_member_1_head-192.png create src/main/webapp/app/config/icon-loader.ts create src/main/webapp/content/images/jhipster_family_member_1_head-256.png create src/main/webapp/app/entities/index.tsx create src/main/webapp/content/images/jhipster_family_member_1_head-384.png create src/main/webapp/app/modules/home/home.tsx create src/main/webapp/content/images/jhipster_family_member_1_head-512.png create src/main/webapp/app/modules/login/logout.tsx create src/main/webapp/content/images/jhipster_family_member_2.svg create src/main/webapp/app/modules/login/login-redirect.tsx create src/main/webapp/content/images/jhipster_family_member_2_head-192.png create src/main/webapp/app/modules/home/home.scss create src/main/webapp/content/images/jhipster_family_member_2_head-256.png create src/main/webapp/app/modules/administration/index.tsx create src/main/webapp/content/images/jhipster_family_member_2_head-384.png create src/main/webapp/app/shared/reducers/index.ts create src/main/webapp/content/images/jhipster_family_member_2_head-512.png create src/main/webapp/app/shared/reducers/reducer.utils.ts create src/main/webapp/content/images/jhipster_family_member_3.svg create src/main/webapp/app/modules/administration/administration.reducer.ts create src/main/webapp/content/images/jhipster_family_member_3_head-192.png create src/main/webapp/app/shared/reducers/authentication.ts create src/main/webapp/content/images/jhipster_family_member_3_head-256.png create src/main/webapp/app/modules/administration/docs/docs.tsx create src/main/webapp/content/images/jhipster_family_member_3_head-384.png create src/main/webapp/app/shared/reducers/application-profile.ts create src/main/webapp/content/images/jhipster_family_member_3_head-512.png create src/main/webapp/app/modules/administration/docs/docs.scss create src/main/webapp/content/images/logo-jhipster.png create src/main/webapp/app/shared/reducers/locale.ts create src/main/webapp/favicon.ico create src/main/webapp/app/modules/administration/configuration/configuration.tsx create src/main/webapp/swagger-ui/dist/images/throbber.gif create src/main/webapp/app/modules/administration/health/health.tsx create .eslintignore create src/main/webapp/app/shared/reducers/user-management.ts create src/main/webapp/manifest.webapp create src/main/webapp/app/modules/administration/health/health-modal.tsx create src/main/webapp/WEB-INF/web.xml create src/main/webapp/app/modules/administration/logs/logs.tsx create src/main/webapp/robots.txt create src/main/webapp/app/modules/administration/metrics/metrics.tsx create src/main/webapp/app/modules/administration/gateway/gateway.tsx create src/main/webapp/app/shared/layout/footer/footer.tsx create src/main/webapp/app/shared/layout/password/password-strength-bar.tsx create src/main/webapp/app/shared/util/date-utils.ts create src/main/webapp/app/shared/layout/header/header.tsx create src/main/webapp/app/shared/util/pagination.constants.ts create src/main/webapp/app/shared/layout/header/header-components.tsx create src/main/webapp/app/shared/layout/menus/index.ts create src/main/webapp/app/shared/layout/menus/admin.tsx create src/main/webapp/app/shared/util/entity-utils.ts create src/main/resources/i18n/messages_en.properties create src/main/webapp/app/shared/layout/menus/account.tsx create src/main/resources/i18n/messages_es.properties create src/main/webapp/app/shared/layout/menus/entities.tsx create src/main/webapp/app/shared/auth/private-route.tsx create src/main/webapp/app/shared/layout/menus/menu-components.tsx create src/main/webapp/app/shared/layout/menus/menu-item.tsx create src/main/webapp/app/shared/error/error-boundary.tsx create src/main/webapp/app/shared/error/error-boundary-route.tsx create src/main/webapp/app/shared/error/page-not-found.tsx create src/main/webapp/app/shared/DurationFormat.tsx create src/main/webapp/app/shared/layout/menus/locale.tsx create src/main/webapp/app/shared/util/url-utils.ts create src/main/webapp/app/shared/layout/header/header.scss create src/main/webapp/app/shared/model/user.model.ts create src/main/webapp/app/shared/layout/footer/footer.scss create src/test/javascript/cypress/fixtures/integration-test.png create src/main/webapp/app/shared/layout/password/password-strength-bar.scss create src/main/webapp/app/config/axios-interceptor.spec.ts create src/main/webapp/app/config/notification-middleware.spec.ts create src/main/webapp/app/shared/reducers/application-profile.spec.ts create src/main/webapp/app/shared/reducers/authentication.spec.ts create src/main/webapp/app/shared/util/entity-utils.spec.ts create src/main/webapp/app/shared/auth/private-route.spec.tsx create src/main/webapp/app/shared/error/error-boundary.spec.tsx create src/main/webapp/app/shared/error/error-boundary-route.spec.tsx create src/main/webapp/app/shared/layout/header/header.spec.tsx create src/main/webapp/app/shared/layout/menus/account.spec.tsx create src/main/webapp/app/modules/administration/administration.reducer.spec.ts create src/main/webapp/app/shared/reducers/locale.spec.ts create src/main/webapp/app/shared/reducers/user-management.spec.ts create src/main/webapp/404.html create src/main/webapp/index.html create src/main/webapp/swagger-ui/index.html create src/main/webapp/content/css/loading.css create src/main/webapp/i18n/en/error.json create src/main/webapp/i18n/en/metrics.json create src/main/webapp/i18n/en/logs.json create src/main/webapp/i18n/en/gateway.json create src/main/webapp/i18n/en/login.json create src/main/webapp/i18n/en/activate.json create src/main/webapp/i18n/en/home.json create src/main/webapp/i18n/en/global.json create src/main/webapp/i18n/en/password.json create src/main/webapp/i18n/en/reset.json create src/main/webapp/i18n/en/register.json create src/main/webapp/i18n/en/health.json create src/main/webapp/i18n/en/sessions.json create src/main/webapp/i18n/es/error.json create src/main/webapp/i18n/es/gateway.json create src/main/webapp/i18n/en/settings.json create src/main/webapp/i18n/es/login.json create src/main/webapp/i18n/es/activate.json create src/main/webapp/i18n/en/user-management.json create src/main/webapp/i18n/es/home.json create src/main/webapp/i18n/en/configuration.json create src/main/webapp/i18n/es/password.json create src/main/webapp/i18n/es/register.json create src/main/webapp/i18n/es/sessions.json create src/main/webapp/i18n/es/settings.json create src/main/webapp/i18n/es/user-management.json create src/main/webapp/i18n/es/configuration.json create src/main/webapp/i18n/es/logs.json create src/main/webapp/i18n/es/metrics.json create src/main/webapp/i18n/es/global.json create src/main/webapp/i18n/es/reset.json create src/main/webapp/i18n/es/health.json create cypress.json create cypress-audits.json create src/test/javascript/cypress/.eslintrc.json create src/test/javascript/cypress/support/commands.ts create src/test/javascript/cypress/support/management.ts create src/test/javascript/cypress/plugins/index.ts create src/test/javascript/cypress/tsconfig.json create src/test/javascript/cypress/integration/administration/administration.spec.ts create src/test/javascript/cypress/support/oauth2.ts create README.md create src/test/javascript/cypress/support/navbar.ts create src/test/javascript/cypress/support/index.ts create src/test/javascript/cypress/integration/lighthouse.audits.ts create src/test/javascript/cypress/support/entity.ts

Changes to package.json were detected.

FAILURE: Build failed with an exception.

BUILD FAILED in 786ms Error executing './gradlew npmInstall', execute it yourself. (Command failed with exit code 1: ./gradlew npmInstall) Found commits in Git from /Users/arthurmiller/Desktop/okta_test/gateway. So we assume this is application regeneration. Therefore automatic Git commit is not done. You can do Git commit manually.

If you find JHipster useful consider sponsoring the project https://www.jhipster.tech/sponsors/

Server application generated successfully.

Run your Spring Boot application: ./gradlew

Client application generated successfully.

Start your Webpack development server with: npm start

gateway@0.0.1-SNAPSHOT clean-www /Users/arthurmiller/Desktop/okta_test/gateway rimraf build/resources/main/static/app/{src,build/}

sh: rimraf: command not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! gateway@0.0.1-SNAPSHOT clean-www: rimraf build/resources/main/static/app/{src,build/} npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the gateway@0.0.1-SNAPSHOT clean-www script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! /Users/arthurmiller/.npm/_logs/2021-10-07T22_24_48_055Z-debug.log ERROR! Command failed with exit code 1: npm run clean-www Error: Command failed with exit code 1: npm run clean-www at makeError (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/execa/lib/error.js:59:11) at Function.module.exports.sync (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/execa/index.js:188:17) at JHipsterClientGenerator.spawnCommand.spawnCommandSync (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/yeoman-generator/lib/actions/spawn-command.js:35:16) at JHipsterClientGenerator.end (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/generators/client/index.js:392:16) at Object. (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/yeoman-generator/lib/index.js:1024:25) at /usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/run-async/index.js:49:25 at new Promise () at /usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/run-async/index.js:26:19 at runLoop.add.once.once (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/yeoman-generator/lib/index.js:1025:11) at Immediate. (/usr/local/Cellar/jhipster/7.2.0/libexec/lib/node_modules/generator-jhipster/node_modules/grouped-queue/lib/subqueue.js:48:34) { shortMessage: 'Command failed with exit code 1: npm run clean-www', command: 'npm run clean-www', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: undefined, stderr: undefined, failed: true, timedOut: false, isCanceled: false, killed: false } arthurmiller@Arthurs-MacBook-Pro gateway %

atomfrede commented 3 years ago

It still looks like you are using somehow java 17 as the errors seems to be related to class file version 61 which is used by java 17 https://docs.oracle.com/javase/specs/jvms/se17/html/jvms-4.html#jvms-4.1-200-B.2

ArthurMiller commented 3 years ago

That's interesting because I believe it is Java 16... arthurmiller@Arthurs-MacBook-Pro gateway % java -version openjdk version "16.0.1" 2021-04-20 OpenJDK Runtime Environment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9) OpenJDK 64-Bit Server VM AdoptOpenJDK-16.0.1+9 (build 16.0.1+9, mixed mode, sharing) arthurmiller@Arthurs-MacBook-Pro gateway %

I can ensure java 17 is not on my system and double check though.

mshima commented 3 years ago

Maybe there are cached classes compiled with java 17. You can try cleanup.

rm -rf target
atomfrede commented 3 years ago

Most likely build instead of target 😁 but yes cached classes might be the reason

ArthurMiller commented 3 years ago

Went back to Java 11 and ran rm -rf target, it seems to be working. Thanks!

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted. We are accepting PRs :smiley:. Comment or this will be closed in 7 days