redhat-developer / vscode-java

Java Language Support for Visual Studio Code
Eclipse Public License 2.0
2.08k stars 441 forks source link

List.of seem broken while using jdk 17 #2812

Open jkone27 opened 2 years ago

jkone27 commented 2 years ago

i am using vscode with redhat extension and azul sdk 17

Screenshot 2022-11-22 at 12 52 16
    <properties>
        <java.version>17</java.version>
        <application.name>${project.artifactId}</application.name>
    </properties>
The method of() is undefined for the type List
The method of(String[]) is undefined for the type List

maven runs file, wheras vscode tells me

List.of

is not defined as well as

var

is reported as object (but that could be related to the first issue...

running commands from command line on mvn or from mvn extension all works fine, in the extension both test extension and intellisense/error reporting are wrong (seems they fetch an older java version??)

cheers

jkone27 commented 2 years ago

i am using lombok but that was supported/working in the past ..

here the vscode ext logs..

!SESSION 2022-11-22 10:00:13.667 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.5
java.vendor=Eclipse Adoptium
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
Command-line arguments:  -data /Users/admin/Library/Application Support/Code/User/workspaceStorage/7e0b3eb7e13ecf17564ff343826618c4/redhat.java/jdt_ws

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:16.306
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:16.616
!MESSAGE Main thread is waiting

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:16.719
!MESSAGE >> initialize

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:16.722
!MESSAGE Initializing Java Language Server 1.18.0.202211220801

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.180
!MESSAGE Default VM Install changed from  null to 1669107619170-/Users/admin/.vscode/extensions/redhat.java-1.13.2022112203-darwin-x64/jre/17.0.5-macosx-x86_64

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.201
!MESSAGE Setting java.home /Users/admin/.sdkman/candidates/java/17.0.3-zulu/zulu-17.jdk/Contents/Home as default global VM

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.209
!MESSAGE Default VM Install changed from  1669107619170-/Users/admin/.vscode/extensions/redhat.java-1.13.2022112203-darwin-x64/jre/17.0.5-macosx-x86_64 to 1669107619200-/Users/admin/.sdkman/candidates/java/17.0.3-zulu/zulu-17.jdk/Contents/Home

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.238
!MESSAGE JVM Runtimes changed, saving new configuration

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.269
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.282
!MESSAGE Non-Static Commands: [java.edit.organizeImports, java.project.refreshDiagnostics, java.project.import, java.navigate.openTypeHierarchy, java.project.removeFromSourcePath, java.project.listSourcePaths, java.project.resolveStackTraceLocation, java.project.getAll, java.reloadBundles, java.project.isTestFile, java.project.getClasspaths, java.navigate.resolveTypeHierarchy, java.edit.stringFormatting, java.project.getSettings, java.project.updateSourceAttachment, java.project.resolveWorkspaceSymbol, java.project.upgradeGradle, java.project.createModuleInfo, java.protobuf.generateSources, java.project.resolveSourceAttachment, java.project.addToSourcePath]

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.283
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.283
!MESSAGE Non-Static Commands: [java.codeAction.lombok.getAnnotations, java.codeAction.lombok]

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.284
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.284
!MESSAGE Non-Static Commands: [java.intellicode.completion, java.intellicode.completion.resolve, java.intellicode.enable]

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.285
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.285
!MESSAGE Non-Static Commands: [java.maven.initializeSearcher, java.maven.searchArtifact, java.maven.addDependency, java.maven.controlContext]

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.286
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.286
!MESSAGE Non-Static Commands: [java.project.refreshLib, java.project.list, java.project.generateJar, java.project.getMainClasses, java.getPackageData, java.resolvePath]

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.287
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.287
!MESSAGE Non-Static Commands: [vscode.java.checkProjectSettings, vscode.java.isOnClasspath, vscode.java.fetchUsageData, vscode.java.validateLaunchConfig, vscode.java.resolveInlineVariables, vscode.java.resolveClassFilters, vscode.java.resolveMainMethod, vscode.java.resolveClasspath, vscode.java.resolveBuildFiles, vscode.java.resolveMainClass, vscode.java.updateDebugSettings, vscode.java.resolveSourceUri, vscode.java.fetchPlatformSettings, vscode.java.buildWorkspace, vscode.java.startDebugSession, vscode.java.inferLaunchCommandLength, vscode.java.resolveElementAtSelection, vscode.java.resolveJavaExecutable]

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.288
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.288
!MESSAGE Non-Static Commands: [vscode.java.test.findJavaProjects, vscode.java.test.findTestPackagesAndTypes, vscode.java.test.findTestTypesAndMethods, vscode.java.test.resolvePath, vscode.java.test.findTestLocation, vscode.java.test.get.testpath, vscode.java.test.findDirectTestChildrenForClass, vscode.java.test.navigateToTestOrTarget, vscode.java.test.junit.argument, vscode.java.test.generateTests]

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.297
!MESSAGE Starting org.eclipse.m2e.core

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.298
!MESSAGE Started org.eclipse.m2e.core 1ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.300
!MESSAGE ProjectRegistryRefreshJob finished 2ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.301
!MESSAGE Starting org.eclipse.buildship.core

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.335
!MESSAGE Started org.eclipse.buildship.core 34ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.344
!MESSAGE RepositoryRegistryUpdateJob finished 0ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.359
!MESSAGE Creating the Java project jdt.ls-java-project

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:19.509
!MESSAGE Finished creating the Java project jdt.ls-java-project

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:20.238
!MESSAGE >> initialized

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:21.339
!MESSAGE Importing Maven project(s)

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:30.138
!MESSAGE Workspace initialized in 10795ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:30.166
!MESSAGE >> initialization job finished

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:30.169
!MESSAGE >> workspace/didChangeConfiguration

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:30.180
!MESSAGE >> java/buildWorkspace (incremental)

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:30.187
!MESSAGE >> New configuration: {java={home=/Users/admin/.sdkman/candidates/java/17.0.3-zulu/zulu-17.jdk/Contents/Home, jdt={ls={java={home=null}, vmargs=-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable, lombokSupport={enabled=true}, protobufSupport={enabled=true}, androidSupport={enabled=false}}}, errors={incompleteClasspath={severity=warning}}, configuration={checkProjectSettingsExclusions=false, updateBuildConfiguration=interactive, maven={userSettings=~/.m2/settings.xml, globalSettings=null, notCoveredPluginExecutionSeverity=warning}, workspaceCacheLimit=90.0, runtimes=[]}, trace={server=off}, import={maven={enabled=true, offline={enabled=false}}, gradle={enabled=true, wrapper={enabled=true}, version=null, home=null, java={home=null}, offline={enabled=false}, arguments=null, jvmArguments=null, user={home=null}}, exclusions=[**/node_modules/**, **/.metadata/**, **/archetype-resources/**, **/META-INF/maven/**], generatesMetadataFilesAtProjectRoot=false}, maven={downloadSources=false, updateSnapshots=false}, eclipse={downloadSources=false}, referencesCodeLens={enabled=false}, signatureHelp={enabled=true, description={enabled=false}}, implementationsCodeLens={enabled=false}, format={enabled=true, settings={url=null, profile=null}, comments={enabled=true}, onType={enabled=true}, insertSpaces=true, tabSize=4.0}, saveActions={organizeImports=false}, project={referencedLibraries=[lib/**/*.jar], importOnFirstTimeStartup=automatic, importHint=true, resourceFilters=[node_modules, \.git], encoding=ignore, exportJar={targetPath=${workspaceFolder}/${workspaceFolderBasename}.jar}}, contentProvider={preferred=null}, autobuild={enabled=true}, maxConcurrentBuilds=1.0, recommendations={dependency={analytics={show=true}}}, completion={maxResults=0.0, enabled=true, guessMethodArguments=true, favoriteStaticMembers=[org.junit.Assert.*, org.junit.Assume.*, org.junit.jupiter.api.Assertions.*, org.junit.jupiter.api.Assumptions.*, org.junit.jupiter.api.DynamicContainer.*, org.junit.jupiter.api.DynamicTest.*, org.mockito.Mockito.*, org.mockito.ArgumentMatchers.*, org.mockito.Answers.*], filteredTypes=[java.awt.*, com.sun.*, sun.*, jdk.*, org.graalvm.*, io.micrometer.shaded.*], importOrder=[#, java, javax, org, com, ], postfix={enabled=true}}, foldingRange={enabled=true}, progressReports={enabled=true}, codeGeneration={hashCodeEquals={useJava7Objects=false, useInstanceof=false}, useBlocks=false, generateComments=false, toString={template=${object.className} [${member.name()}=${member.value}, ${otherMembers}], codeStyle=STRING_CONCATENATION, skipNullValues=false, listArrayContents=true, limitElements=0.0}, insertionLocation=afterCursor}, selectionRange={enabled=true}, showBuildStatusOnStart={enabled=notification}, server={launchMode=Hybrid}, sources={organizeImports={starThreshold=99.0, staticStarThreshold=99.0}}, imports={gradle={wrapper={checksums=[]}}}, templates={fileHeader=[], typeComment=[]}, references={includeAccessors=true, includeDecompiledSources=true}, typeHierarchy={lazyLoad=false}, settings={url=null}, symbols={includeSourceMethodDeclarations=false}, quickfix={showAt=line}, inlayHints={parameterNames={enabled=literals, exclusions=[]}}, codeAction={sortMembers={avoidVolatileChanges=true}}, compile={nullAnalysis={nonnull=[javax.annotation.Nonnull, org.eclipse.jdt.annotation.NonNull, org.springframework.lang.NonNull], nullable=[javax.annotation.Nullable, org.eclipse.jdt.annotation.Nullable, org.springframework.lang.Nullable], mode=automatic}}, cleanup={actionsOnSave=[]}, debug={logLevel=warn, settings={showHex=false, showStaticVariables=false, showQualifiedNames=false, showLogicalStructure=true, showToString=true, maxStringLength=0.0, numericPrecision=0.0, hotCodeReplace=manual, enableRunDebugCodeLens=true, forceBuildBeforeLaunch=true, onBuildFailureProceed=false, console=integratedTerminal, exceptionBreakpoint={skipClasses=[]}, stepping={skipClasses=[], skipSynthetics=false, skipStaticInitializers=false, skipConstructors=false}, jdwp={limitOfVariablesPerJdwpRequest=100.0, requestTimeout=3000.0, async=auto}, vmArgs=}}, silentNotification=false, dependency={showMembers=false, syncWithFolderExplorer=true, autoRefresh=true, refreshDelay=2000.0, packagePresentation=flat}, help={firstView=auto, showReleaseNotes=true, collectErrorLog=false}, test={defaultConfig=, config={name=tests, workingDirectory=${workspaceFolder}, args=[--logging.config="${workspaceFolder}/.vscode/testlog.xml"]}}}}

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:30.198
!MESSAGE >> document/didOpen

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:31.629
!MESSAGE >> textDocument/inlayHint

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-22 10:00:31.636
!MESSAGE >> textDocument/inlayHint

!ENTRY org.eclipse.jdt.ls.core 4 0 2022-11-22 10:00:33.734
!MESSAGE Error occured while building workspace. Details: 
 message: The method of(Scenario) is undefined for the type List; code: 67108964;
jkone27 commented 2 years ago
image

this also seems way to clean..

snjeza commented 2 years ago

@jkone27 Could you show your pom.xml and your settings.json?

jkone27 commented 2 years ago

not sure pom is useful for you as all our packages are private... so here is a "fac-simile"

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <groupId>com.acme.sa</groupId>
        <artifactId>sa-parent</artifactId>
        <version>6.3.3856</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.acme.someapi</groupId>
    <artifactId>saw-reservations-tables</artifactId>
    <version>1.0.0-SNAPSHOT</version>

    <properties>
        <java.version>17</java.version>
        <application.name>${project.artifactId}</application.name>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.acme.someapi.commons</groupId>
                <artifactId>sa-parent</artifactId>
                <version>3.0.919</version>
                <scope>import</scope>
                <type>pom</type>
            </dependency>
            <dependency>
                <groupId>com.acme</groupId>
                <artifactId>acme-contracts</artifactId>
                <version>1.1.695</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
            <groupId>com.acme.someapi.commons</groupId>
            <artifactId>cake-cook-contract</artifactId>
        </dependency>

        <dependency>
            <groupId>com.acme.sa</groupId>
            <artifactId>sa-webflux-starter</artifactId>
        </dependency>
        <dependency>
            <groupId>com.acme.someapi.commons</groupId>
            <artifactId>protobuf-starter</artifactId>
        </dependency>
        <dependency>
            <groupId>com.acme.someapi.commons</groupId>
            <artifactId>tracing</artifactId>
        </dependency>
        <dependency>
            <groupId>com.acme.someapi.commons</groupId>
            <artifactId>pubsub</artifactId>
        </dependency>
        <dependency>
            <groupId>com.acme.someapi.commons</groupId>
            <artifactId>saw-cake-retrieve-client</artifactId>
        </dependency>
        <dependency>
          <groupId>com.acme.someapi.commons</groupId>
          <artifactId>saw-cooking-data-client</artifactId>
        </dependency>
        <dependency>
          <groupId>com.acme.someapi.commons</groupId>
          <artifactId>cook-adapters</artifactId>
        </dependency>
        <dependency>
            <groupId>com.acme.someapi.commons</groupId>
            <artifactId>reservations-tables-contract</artifactId>
        </dependency>
        <dependency>
            <groupId>com.acme.someapi.commons</groupId>
            <artifactId>common-adapters</artifactId>
        </dependency>
        <dependency>
            <groupId>com.acme</groupId>
            <artifactId>acme-contracts</artifactId>
        </dependency>

    <!--        EXTERNAL-->
        <dependency>
            <groupId>com.google.protobuf</groupId>
            <artifactId>protobuf-java</artifactId>
        </dependency>
        <dependency>
            <groupId>com.google.protobuf</groupId>
            <artifactId>protobuf-java-util</artifactId>
        </dependency>

        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <scope>provided</scope>
        </dependency>

    <!--        TEST-->
        <dependency>
            <groupId>org.mock-server</groupId>
            <artifactId>mockserver-client-java</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.acme.someapi.commons</groupId>
            <artifactId>pubsub-integration-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.acme.sa</groupId>
            <artifactId>sa-utils</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>io.projectreactor</groupId>
            <artifactId>reactor-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.springdoc</groupId>
            <artifactId>springdoc-openapi-webflux-ui</artifactId>
        </dependency>
    </dependencies>
</project>
jkone27 commented 2 years ago

settings.json

{
    "java.configuration.updateBuildConfiguration": "automatic",
    "java.test.config": {
      "name" : "tests",
      "workingDirectory": "${workspaceFolder}",
      "args": [ "--logging.config=\"${workspaceFolder}/.vscode/testlog.xml\"" ]
    }
}
jkone27 commented 2 years ago

ca you test with this sdk only installed?

~% sdk current java

Using java version 17.0.3-zulu
jkone27 commented 2 years ago

this should be there since java 1.2 ? List.of ? so the ide not reckognizing it seems like a bug.. https://docs.oracle.com/javase/9/docs/api/java/util/List.html.

jkone27 commented 2 years ago

i see this in my log files

!ENTRY org.eclipse.jdt.ls.core 1 0 2022-11-24 13:41:20.740
!MESSAGE Default VM Install changed from  1669293680709-/Users/admin/.vscode/extensions/redhat.java-1.12.0-darwin-x64/jre/17.0.4.1-macosx-x86_64 to 1669293680734-/Users/admin/.sdkman/candidates/java/17.0.3-zulu/zulu-17.jdk/Contents/Home

but that should also use a jre 17... so not clear to me ,

also this is cited in the ext page : How can I use Visual Studio Code with new Java versions?

Thanks to the upstream update from JDT, you can now build your project up to Java 14 with VS Code as well.

so List.of should be ther anyways and always i assume..

snjeza commented 2 years ago

@jkone27 Could you attach your .classpath?

jkone27 commented 2 years ago
admin@LT-NLAMS-3108 sw-terms-conditions-service % mvn -q exec:exec -Dexec.executable=echo -Dexec.args="%classpath"
/Users/admin/Repositories/sw-terms-conditions-service/target/classes:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/flight-book-contract/3.0.940/flight-book-contract-3.0.940.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/common-contract/3.0.940/common-contract-3.0.940.jar:/Users/admin/.m2/repository/com/acme/ace/air/air-common-api/2.0.2247/air-common-api-2.0.2247.jar:/Users/admin/.m2/repository/com/acme/ace/supplier-common-api/1.0.157/supplier-common-api-1.0.157.jar:/Users/admin/.m2/repository/io/swagger/core/v3/swagger-annotations/2.2.7/swagger-annotations-2.2.7.jar:/Users/admin/.m2/repository/com/acme/ace/air/air-book-api/2.0.2247/air-book-api-2.0.2247.jar:/Users/admin/.m2/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar:/Users/admin/.m2/repository/com/acme/ace/ace-webflux-starter/6.3.3861/ace-webflux-starter-6.3.3861.jar:/Users/admin/.m2/repository/org/springframework/boot/spring-boot-starter-actuator/2.7.5/spring-boot-starter-actuator-2.7.5.jar:/Users/admin/.m2/repository/org/springframework/boot/spring-boot-actuator-autoconfigure/2.7.5/spring-boot-actuator-autoconfigure-2.7.5.jar:/Users/admin/.m2/repository/io/micrometer/micrometer-core/1.9.5/micrometer-core-1.9.5.jar:/Users/admin/.m2/repository/org/hdrhistogram/HdrHistogram/2.1.12/HdrHistogram-2.1.12.jar:/Users/admin/.m2/repository/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.jar:/Users/admin/.m2/repository/org/springframework/boot/spring-boot-starter-validation/2.7.5/spring-boot-starter-validation-2.7.5.jar:/Users/admin/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/9.0.68/tomcat-embed-el-9.0.68.jar:/Users/admin/.m2/repository/org/hibernate/validator/hibernate-validator/6.2.5.Final/hibernate-validator-6.2.5.Final.jar:/Users/admin/.m2/repository/org/jboss/logging/jboss-logging/3.4.3.Final/jboss-logging-3.4.3.Final.jar:/Users/admin/.m2/repository/com/fasterxml/classmate/1.5.1/classmate-1.5.1.jar:/Users/admin/.m2/repository/org/springframework/boot/spring-boot-starter-webflux/2.7.5/spring-boot-starter-webflux-2.7.5.jar:/Users/admin/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.7.5/spring-boot-starter-json-2.7.5.jar:/Users/admin/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.13.4/jackson-module-parameter-names-2.13.4.jar:/Users/admin/.m2/repository/org/springframework/boot/spring-boot-starter-reactor-netty/2.7.5/spring-boot-starter-reactor-netty-2.7.5.jar:/Users/admin/.m2/repository/io/projectreactor/netty/reactor-netty-http/1.0.24/reactor-netty-http-1.0.24.jar:/Users/admin/.m2/repository/io/netty/netty-codec-http2/4.1.84.Final/netty-codec-http2-4.1.84.Final.jar:/Users/admin/.m2/repository/io/netty/netty-resolver-dns/4.1.84.Final/netty-resolver-dns-4.1.84.Final.jar:/Users/admin/.m2/repository/io/netty/netty-codec-dns/4.1.84.Final/netty-codec-dns-4.1.84.Final.jar:/Users/admin/.m2/repository/io/netty/netty-resolver-dns-native-macos/4.1.84.Final/netty-resolver-dns-native-macos-4.1.84.Final-osx-x86_64.jar:/Users/admin/.m2/repository/io/netty/netty-resolver-dns-classes-macos/4.1.84.Final/netty-resolver-dns-classes-macos-4.1.84.Final.jar:/Users/admin/.m2/repository/io/netty/netty-transport-native-epoll/4.1.84.Final/netty-transport-native-epoll-4.1.84.Final-linux-x86_64.jar:/Users/admin/.m2/repository/io/netty/netty-transport-classes-epoll/4.1.84.Final/netty-transport-classes-epoll-4.1.84.Final.jar:/Users/admin/.m2/repository/org/springframework/spring-web/5.3.23/spring-web-5.3.23.jar:/Users/admin/.m2/repository/org/springframework/spring-beans/5.3.23/spring-beans-5.3.23.jar:/Users/admin/.m2/repository/org/springframework/spring-webflux/5.3.23/spring-webflux-5.3.23.jar:/Users/admin/.m2/repository/com/acme/ace/ace-autoconfigure/6.3.3861/ace-autoconfigure-6.3.3861.jar:/Users/admin/.m2/repository/org/springframework/boot/spring-boot/2.7.5/spring-boot-2.7.5.jar:/Users/admin/.m2/repository/com/acme/ace/ace-metrics/6.3.3861/ace-metrics-6.3.3861.jar:/Users/admin/.m2/repository/com/acme/ace/ace-rest-core/6.3.3861/ace-rest-core-6.3.3861.jar:/Users/admin/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar:/Users/admin/.m2/repository/io/github/mweirauch/micrometer-jvm-extras/0.2.2/micrometer-jvm-extras-0.2.2.jar:/Users/admin/.m2/repository/io/github/resilience4j/resilience4j-micrometer/1.7.0/resilience4j-micrometer-1.7.0.jar:/Users/admin/.m2/repository/io/vavr/vavr/0.10.2/vavr-0.10.2.jar:/Users/admin/.m2/repository/io/vavr/vavr-match/0.10.2/vavr-match-0.10.2.jar:/Users/admin/.m2/repository/io/micrometer/micrometer-registry-prometheus/1.9.5/micrometer-registry-prometheus-1.9.5.jar:/Users/admin/.m2/repository/io/prometheus/simpleclient_common/0.15.0/simpleclient_common-0.15.0.jar:/Users/admin/.m2/repository/io/prometheus/simpleclient/0.15.0/simpleclient-0.15.0.jar:/Users/admin/.m2/repository/io/prometheus/simpleclient_tracer_otel/0.15.0/simpleclient_tracer_otel-0.15.0.jar:/Users/admin/.m2/repository/io/prometheus/simpleclient_tracer_common/0.15.0/simpleclient_tracer_common-0.15.0.jar:/Users/admin/.m2/repository/io/prometheus/simpleclient_tracer_otel_agent/0.15.0/simpleclient_tracer_otel_agent-0.15.0.jar:/Users/admin/.m2/repository/org/aspectj/aspectjweaver/1.9.7/aspectjweaver-1.9.7.jar:/Users/admin/.m2/repository/org/springframework/boot/spring-boot-actuator/2.7.5/spring-boot-actuator-2.7.5.jar:/Users/admin/.m2/repository/com/acme/ace/ace-logging-core/6.3.3861/ace-logging-core-6.3.3861.jar:/Users/admin/.m2/repository/com/acme/ace/ace-core-utility/6.3.3861/ace-core-utility-6.3.3861.jar:/Users/admin/.m2/repository/com/acme/ace/ace-data-api/6.3.3861/ace-data-api-6.3.3861.jar:/Users/admin/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/admin/.m2/repository/net/logstash/logback/logstash-logback-encoder/6.6/logstash-logback-encoder-6.6.jar:/Users/admin/.m2/repository/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:/Users/admin/.m2/repository/javax/servlet/javax.servlet-api/4.0.1/javax.servlet-api-4.0.1.jar:/Users/admin/.m2/repository/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar:/Users/admin/.m2/repository/org/apache/httpcomponents/httpcore/4.4.15/httpcore-4.4.15.jar:/Users/admin/.m2/repository/com/acme/ace/ace-logging-v3/6.3.3861/ace-logging-v3-6.3.3861.jar:/Users/admin/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.13.4.2/jackson-databind-2.13.4.2.jar:/Users/admin/.m2/repository/com/acme/ace/ace-webflux-core/6.3.3861/ace-webflux-core-6.3.3861.jar:/Users/admin/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.13.4/jackson-datatype-jdk8-2.13.4.jar:/Users/admin/.m2/repository/com/fasterxml/jackson/module/jackson-module-afterburner/2.13.4/jackson-module-afterburner-2.13.4.jar:/Users/admin/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.13.4/jackson-datatype-jsr310-2.13.4.jar:/Users/admin/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/Users/admin/.m2/repository/io/netty/netty-common/4.1.84.Final/netty-common-4.1.84.Final.jar:/Users/admin/.m2/repository/io/projectreactor/netty/reactor-netty/1.0.24/reactor-netty-1.0.24.jar:/Users/admin/.m2/repository/io/projectreactor/netty/reactor-netty-core/1.0.24/reactor-netty-core-1.0.24.jar:/Users/admin/.m2/repository/io/projectreactor/netty/incubator/reactor-netty-incubator-quic/0.0.13/reactor-netty-incubator-quic-0.0.13.jar:/Users/admin/.m2/repository/io/netty/incubator/netty-incubator-codec-native-quic/0.0.33.Final/netty-incubator-codec-native-quic-0.0.33.Final-linux-x86_64.jar:/Users/admin/.m2/repository/io/netty/incubator/netty-incubator-codec-classes-quic/0.0.33.Final/netty-incubator-codec-classes-quic-0.0.33.Final.jar:/Users/admin/.m2/repository/io/projectreactor/netty/reactor-netty-http-brave/1.0.24/reactor-netty-http-brave-1.0.24.jar:/Users/admin/.m2/repository/io/zipkin/brave/brave-instrumentation-http/5.13.9/brave-instrumentation-http-5.13.9.jar:/Users/admin/.m2/repository/io/zipkin/brave/brave/5.13.9/brave-5.13.9.jar:/Users/admin/.m2/repository/io/zipkin/reporter2/zipkin-reporter-brave/2.16.3/zipkin-reporter-brave-2.16.3.jar:/Users/admin/.m2/repository/io/zipkin/reporter2/zipkin-reporter/2.16.3/zipkin-reporter-2.16.3.jar:/Users/admin/.m2/repository/io/zipkin/zipkin2/zipkin/2.23.2/zipkin-2.23.2.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-jaeger-cloud-starter/3.3.1/opentracing-spring-jaeger-cloud-starter-3.3.1.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-jaeger-starter/3.3.1/opentracing-spring-jaeger-starter-3.3.1.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-tracer-configuration-starter/0.4.0/opentracing-spring-tracer-configuration-starter-0.4.0.jar:/Users/admin/.m2/repository/io/opentracing/opentracing-noop/0.33.0/opentracing-noop-0.33.0.jar:/Users/admin/.m2/repository/io/opentracing/opentracing-util/0.33.0/opentracing-util-0.33.0.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-tracerresolver/0.1.8/opentracing-tracerresolver-0.1.8.jar:/Users/admin/.m2/repository/io/opentracing/opentracing-api/0.33.0/opentracing-api-0.33.0.jar:/Users/admin/.m2/repository/io/jaegertracing/jaeger-client/1.8.1/jaeger-client-1.8.1.jar:/Users/admin/.m2/repository/io/jaegertracing/jaeger-thrift/1.8.1/jaeger-thrift-1.8.1.jar:/Users/admin/.m2/repository/org/apache/thrift/libthrift/0.15.0/libthrift-0.15.0.jar:/Users/admin/.m2/repository/com/squareup/okhttp3/okhttp/4.9.3/okhttp-4.9.3.jar:/Users/admin/.m2/repository/com/squareup/okio/okio/2.8.0/okio-2.8.0.jar:/Users/admin/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-common/1.6.21/kotlin-stdlib-common-1.6.21.jar:/Users/admin/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.6.21/kotlin-stdlib-1.6.21.jar:/Users/admin/.m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar:/Users/admin/.m2/repository/io/jaegertracing/jaeger-core/1.8.1/jaeger-core-1.8.1.jar:/Users/admin/.m2/repository/io/jaegertracing/jaeger-tracerresolver/1.8.1/jaeger-tracerresolver-1.8.1.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-starter/0.5.3/opentracing-spring-cloud-starter-0.5.3.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-core/0.5.3/opentracing-spring-cloud-core-0.5.3.jar:/Users/admin/.m2/repository/org/springframework/boot/spring-boot-starter-aop/2.7.5/spring-boot-starter-aop-2.7.5.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-concurrent/0.4.0/opentracing-concurrent-0.4.0.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-web-starter/3.0.1/opentracing-spring-web-starter-3.0.1.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-web/3.0.1/opentracing-spring-web-3.0.1.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-web-servlet-filter/0.4.0/opentracing-web-servlet-filter-0.4.0.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-messaging-starter/1.0.0/opentracing-spring-messaging-starter-1.0.0.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-messaging/1.0.0/opentracing-spring-messaging-1.0.0.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-rabbitmq-starter/3.0.0/opentracing-spring-rabbitmq-starter-3.0.0.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-rabbitmq/3.0.0/opentracing-spring-rabbitmq-3.0.0.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-jdbc-starter/0.5.3/opentracing-spring-cloud-jdbc-starter-0.5.3.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-jdbc/0.2.8/opentracing-jdbc-0.2.8.jar:/Users/admin/.m2/repository/io/opentracing/contrib/common/0.1.4/common-0.1.4.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-jms-starter/0.5.3/opentracing-spring-cloud-jms-starter-0.5.3.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-jms-spring/0.1.7/opentracing-jms-spring-0.1.7.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-jms-2/0.1.7/opentracing-jms-2-0.1.7.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-jms-common/0.1.7/opentracing-jms-common-0.1.7.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-kafka-starter/0.5.3/opentracing-spring-cloud-kafka-starter-0.5.3.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-kafka-spring/0.1.12/opentracing-kafka-spring-0.1.12.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-kafka-client/0.1.12/opentracing-kafka-client-0.1.12.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-feign-starter/0.5.3/opentracing-spring-cloud-feign-starter-0.5.3.jar:/Users/admin/.m2/repository/io/github/openfeign/opentracing/feign-opentracing/0.4.0/feign-opentracing-0.4.0.jar:/Users/admin/.m2/repository/io/github/openfeign/opentracing/feign-hystrix-opentracing/0.4.0/feign-hystrix-opentracing-0.4.0.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-hystrix-starter/0.5.3/opentracing-spring-cloud-hystrix-starter-0.5.3.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-reactor-starter/0.5.3/opentracing-spring-cloud-reactor-starter-0.5.3.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-reactor/0.1.2/opentracing-reactor-0.1.2.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-rxjava-starter/0.5.3/opentracing-spring-cloud-rxjava-starter-0.5.3.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-rxjava-1/0.1.3/opentracing-rxjava-1-0.1.3.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-redis-starter/0.5.3/opentracing-spring-cloud-redis-starter-0.5.3.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-redis-spring-data2/0.1.14/opentracing-redis-spring-data2-0.1.14.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-redis-common/0.1.14/opentracing-redis-common-0.1.14.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-mongo-starter/0.5.3/opentracing-spring-cloud-mongo-starter-0.5.3.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-mongo-driver/0.1.5/opentracing-mongo-driver-0.1.5.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-mongo-common/0.1.5/opentracing-mongo-common-0.1.5.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-websocket-starter/0.5.3/opentracing-spring-cloud-websocket-starter-0.5.3.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-zuul-starter/0.5.3/opentracing-spring-cloud-zuul-starter-0.5.3.jar:/Users/admin/.m2/repository/io/opentracing/contrib/opentracing-spring-cloud-gateway-starter/0.5.3/opentracing-spring-cloud-gateway-starter-0.5.3.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/protobuf-starter/3.0.940/protobuf-starter-3.0.940.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/protobuf-error/3.0.940/protobuf-error-3.0.940.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/tracing/3.0.940/tracing-3.0.940.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/pubsub/3.0.940/pubsub-3.0.940.jar:/Users/admin/.m2/repository/com/google/cloud/spring-cloud-gcp-starter-pubsub/3.3.0/spring-cloud-gcp-starter-pubsub-3.3.0.jar:/Users/admin/.m2/repository/com/google/cloud/spring-cloud-gcp-starter/3.3.0/spring-cloud-gcp-starter-3.3.0.jar:/Users/admin/.m2/repository/com/google/cloud/spring-cloud-gcp-pubsub/3.3.0/spring-cloud-gcp-pubsub-3.3.0.jar:/Users/admin/.m2/repository/com/google/cloud/google-cloud-pubsub/1.117.0/google-cloud-pubsub-1.117.0.jar:/Users/admin/.m2/repository/io/grpc/grpc-api/1.45.1/grpc-api-1.45.1.jar:/Users/admin/.m2/repository/io/grpc/grpc-context/1.45.1/grpc-context-1.45.1.jar:/Users/admin/.m2/repository/io/grpc/grpc-stub/1.45.1/grpc-stub-1.45.1.jar:/Users/admin/.m2/repository/io/grpc/grpc-protobuf/1.45.1/grpc-protobuf-1.45.1.jar:/Users/admin/.m2/repository/io/grpc/grpc-protobuf-lite/1.45.1/grpc-protobuf-lite-1.45.1.jar:/Users/admin/.m2/repository/com/google/api/api-common/2.1.5/api-common-2.1.5.jar:/Users/admin/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/Users/admin/.m2/repository/com/google/api/grpc/proto-google-common-protos/2.8.3/proto-google-common-protos-2.8.3.jar:/Users/admin/.m2/repository/com/google/auth/google-auth-library-oauth2-http/1.8.1/google-auth-library-oauth2-http-1.8.1.jar:/Users/admin/.m2/repository/com/google/auth/google-auth-library-credentials/1.6.0/google-auth-library-credentials-1.6.0.jar:/Users/admin/.m2/repository/com/google/http-client/google-http-client-gson/1.41.7/google-http-client-gson-1.41.7.jar:/Users/admin/.m2/repository/com/google/api/grpc/proto-google-cloud-pubsub-v1/1.99.0/proto-google-cloud-pubsub-v1-1.99.0.jar:/Users/admin/.m2/repository/com/google/api/grpc/proto-google-iam-v1/1.3.1/proto-google-iam-v1-1.3.1.jar:/Users/admin/.m2/repository/com/google/api/gax/2.16.0/gax-2.16.0.jar:/Users/admin/.m2/repository/com/google/api/gax-grpc/2.16.0/gax-grpc-2.16.0.jar:/Users/admin/.m2/repository/io/grpc/grpc-alts/1.45.1/grpc-alts-1.45.1.jar:/Users/admin/.m2/repository/io/grpc/grpc-grpclb/1.45.1/grpc-grpclb-1.45.1.jar:/Users/admin/.m2/repository/org/conscrypt/conscrypt-openjdk-uber/2.5.1/conscrypt-openjdk-uber-2.5.1.jar:/Users/admin/.m2/repository/io/grpc/grpc-auth/1.45.1/grpc-auth-1.45.1.jar:/Users/admin/.m2/repository/io/grpc/grpc-netty-shaded/1.45.1/grpc-netty-shaded-1.45.1.jar:/Users/admin/.m2/repository/io/grpc/grpc-googleapis/1.45.1/grpc-googleapis-1.45.1.jar:/Users/admin/.m2/repository/io/grpc/grpc-xds/1.45.1/grpc-xds-1.45.1.jar:/Users/admin/.m2/repository/io/grpc/grpc-services/1.45.1/grpc-services-1.45.1.jar:/Users/admin/.m2/repository/com/google/re2j/re2j/1.5/re2j-1.5.jar:/Users/admin/.m2/repository/io/opencensus/opencensus-proto/0.2.0/opencensus-proto-0.2.0.jar:/Users/admin/.m2/repository/org/threeten/threetenbp/1.6.0/threetenbp-1.6.0.jar:/Users/admin/.m2/repository/io/opencensus/opencensus-api/0.31.0/opencensus-api-0.31.0.jar:/Users/admin/.m2/repository/io/grpc/grpc-core/1.45.1/grpc-core-1.45.1.jar:/Users/admin/.m2/repository/com/google/android/annotations/4.1.1.4/annotations-4.1.1.4.jar:/Users/admin/.m2/repository/org/codehaus/mojo/animal-sniffer-annotations/1.21/animal-sniffer-annotations-1.21.jar:/Users/admin/.m2/repository/io/perfmark/perfmark-api/0.23.0/perfmark-api-0.23.0.jar:/Users/admin/.m2/repository/com/google/auto/value/auto-value-annotations/1.9/auto-value-annotations-1.9.jar:/Users/admin/.m2/repository/com/google/http-client/google-http-client/1.41.7/google-http-client-1.41.7.jar:/Users/admin/.m2/repository/io/opencensus/opencensus-contrib-http-util/0.31.0/opencensus-contrib-http-util-0.31.0.jar:/Users/admin/.m2/repository/com/google/cloud/spring-cloud-gcp-autoconfigure/3.3.0/spring-cloud-gcp-autoconfigure-3.3.0.jar:/Users/admin/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.7.5/spring-boot-autoconfigure-2.7.5.jar:/Users/admin/.m2/repository/com/google/cloud/spring-cloud-gcp-core/3.3.0/spring-cloud-gcp-core-3.3.0.jar:/Users/admin/.m2/repository/com/google/cloud/google-cloud-core/2.6.0/google-cloud-core-2.6.0.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/sw-flight-retrieve-client/3.0.940/sw-flight-retrieve-client-3.0.940.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/common/3.0.940/common-3.0.940.jar:/Users/admin/.m2/repository/jakarta/validation/jakarta.validation-api/2.0.2/jakarta.validation-api-2.0.2.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/booking-data-contract/3.0.940/booking-data-contract-3.0.940.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/protobuf-webclient-error/3.0.940/protobuf-webclient-error-3.0.940.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/sw-booking-data-client/3.0.940/sw-booking-data-client-3.0.940.jar:/Users/admin/.m2/repository/com/acme/ace/ace-protobuf/6.3.3861/ace-protobuf-6.3.3861.jar:/Users/admin/.m2/repository/com/hubspot/jackson/jackson-datatype-protobuf/0.9.13/jackson-datatype-protobuf-0.9.13.jar:/Users/admin/.m2/repository/com/google/code/findbugs/annotations/3.0.1/annotations-3.0.1.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/book-adapters/3.0.940/book-adapters-3.0.940.jar:/Users/admin/.m2/repository/com/acme/ace/ace-api/1.0.157/ace-api-1.0.157.jar:/Users/admin/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.13.4/jackson-annotations-2.13.4.jar:/Users/admin/.m2/repository/com/acme/ace/ace-exception/1.0.157/ace-exception-1.0.157.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/terms-conditions-contract/3.0.940/terms-conditions-contract-3.0.940.jar:/Users/admin/.m2/repository/com/acme/ace/workflow/commons/common-adapters/3.0.940/common-adapters-3.0.940.jar:/Users/admin/.m2/repository/com/acme/acme-contracts/1.1.695/acme-contracts-1.1.695.jar:/Users/admin/.m2/repository/com/google/protobuf/protobuf-java/3.21.9/protobuf-java-3.21.9.jar:/Users/admin/.m2/repository/com/google/protobuf/protobuf-java-util/3.21.9/protobuf-java-util-3.21.9.jar:/Users/admin/.m2/repository/com/google/guava/guava/31.1-jre/guava-31.1-jre.jar:/Users/admin/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:/Users/admin/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/Users/admin/.m2/repository/org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar:/Users/admin/.m2/repository/com/google/errorprone/error_prone_annotations/2.5.1/error_prone_annotations-2.5.1.jar:/Users/admin/.m2/repository/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar:/Users/admin/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users/admin/.m2/repository/com/google/code/gson/gson/2.9.1/gson-2.9.1.jar:/Users/admin/.m2/repository/io/netty/netty-buffer/4.1.84.Final/netty-buffer-4.1.84.Final.jar:/Users/admin/.m2/repository/io/netty/netty-codec/4.1.84.Final/netty-codec-4.1.84.Final.jar:/Users/admin/.m2/repository/io/netty/netty-codec-http/4.1.84.Final/netty-codec-http-4.1.84.Final.jar:/Users/admin/.m2/repository/io/netty/netty-codec-socks/4.1.84.Final/netty-codec-socks-4.1.84.Final.jar:/Users/admin/.m2/repository/io/netty/netty-handler/4.1.84.Final/netty-handler-4.1.84.Final.jar:/Users/admin/.m2/repository/io/netty/netty-resolver/4.1.84.Final/netty-resolver-4.1.84.Final.jar:/Users/admin/.m2/repository/io/netty/netty-transport-native-unix-common/4.1.84.Final/netty-transport-native-unix-common-4.1.84.Final.jar:/Users/admin/.m2/repository/io/netty/netty-handler-proxy/4.1.84.Final/netty-handler-proxy-4.1.84.Final.jar:/Users/admin/.m2/repository/io/netty/netty-transport/4.1.84.Final/netty-transport-4.1.84.Final.jar:/Users/admin/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.70/bcprov-jdk15on-1.70.jar:/Users/admin/.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.70/bcpkix-jdk15on-1.70.jar:/Users/admin/.m2/repository/org/bouncycastle/bcutil-jdk15on/1.70/bcutil-jdk15on-1.70.jar:/Users/admin/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.13.4/jackson-core-2.13.4.jar:/Users/admin/.m2/repository/io/swagger/core/v3/swagger-models/2.2.0/swagger-models-2.2.0.jar:/Users/admin/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.13.4/jackson-dataformat-yaml-2.13.4.jar:/Users/admin/.m2/repository/commons-codec/commons-codec/1.15/commons-codec-1.15.jar:/Users/admin/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:/Users/admin/.m2/repository/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar:/Users/admin/.m2/repository/com/acme/ace/ace-json/6.3.3861/ace-json-6.3.3861.jar:/Users/admin/.m2/repository/org/springframework/spring-context/5.3.23/spring-context-5.3.23.jar:/Users/admin/.m2/repository/org/springframework/spring-aop/5.3.23/spring-aop-5.3.23.jar:/Users/admin/.m2/repository/org/springframework/spring-expression/5.3.23/spring-expression-5.3.23.jar:/Users/admin/.m2/repository/io/projectreactor/reactor-core/3.4.24/reactor-core-3.4.24.jar:/Users/admin/.m2/repository/org/reactivestreams/reactive-streams/1.0.4/reactive-streams-1.0.4.jar:/Users/admin/.m2/repository/org/springdoc/springdoc-openapi-webflux-ui/1.6.13/springdoc-openapi-webflux-ui-1.6.13.jar:/Users/admin/.m2/repository/org/springdoc/springdoc-openapi-webflux-core/1.6.13/springdoc-openapi-webflux-core-1.6.13.jar:/Users/admin/.m2/repository/org/springdoc/springdoc-openapi-common/1.6.13/springdoc-openapi-common-1.6.13.jar:/Users/admin/.m2/repository/io/swagger/core/v3/swagger-core/2.2.7/swagger-core-2.2.7.jar:/Users/admin/.m2/repository/org/webjars/swagger-ui/4.15.5/swagger-ui-4.15.5.jar:/Users/admin/.m2/repository/org/webjars/webjars-locator-core/0.50/webjars-locator-core-0.50.jar:/Users/admin/.m2/repository/io/github/classgraph/classgraph/4.8.149/classgraph-4.8.149.jar:/Users/admin/.m2/repository/org/springframework/boot/spring-boot-starter/2.7.5/spring-boot-starter-2.7.5.jar:/Users/admin/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.7.5/spring-boot-starter-logging-2.7.5.jar:/Users/admin/.m2/repository/ch/qos/logback/logback-classic/1.2.11/logback-classic-1.2.11.jar:/Users/admin/.m2/repository/ch/qos/logback/logback-core/1.2.11/logback-core-1.2.11.jar:/Users/admin/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.17.2/log4j-to-slf4j-2.17.2.jar:/Users/admin/.m2/repository/org/apache/logging/log4j/log4j-api/2.17.2/log4j-api-2.17.2.jar:/Users/admin/.m2/repository/org/slf4j/jul-to-slf4j/1.7.36/jul-to-slf4j-1.7.36.jar:/Users/admin/.m2/repository/org/yaml/snakeyaml/1.33/snakeyaml-1.33.jar:/Users/admin/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.3/jakarta.xml.bind-api-2.3.3.jar:/Users/admin/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.2/jakarta.activation-api-1.2.2.jar:/Users/admin/.m2/repository/org/springframework/spring-core/5.3.23/spring-core-5.3.23.jar:/Users/admin/.m2/repository/org/springframework/spring-jcl/5.3.23/spring-jcl-5.3.23.jar
snjeza commented 2 years ago

@jkone27 .classpath is a file in your project root. You should set

"java.import.generatesMetadataFilesAtProjectRoot": true,

to settings.json

jkone27 commented 2 years ago

mm before that i didnt have any .classpath file in my project root, but here is the result of the compilation after setting that flag in settings.json...

.classpath

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry kind="src" output="target/classes" path="src/main/java">
        <attributes>
            <attribute name="optional" value="true"/>
            <attribute name="maven.pomderived" value="true"/>
        </attributes>
    </classpathentry>
    <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
        <attributes>
            <attribute name="maven.pomderived" value="true"/>
        </attributes>
    </classpathentry>
    <classpathentry kind="src" output="target/test-classes" path="src/test/java">
        <attributes>
            <attribute name="optional" value="true"/>
            <attribute name="maven.pomderived" value="true"/>
            <attribute name="test" value="true"/>
        </attributes>
    </classpathentry>
    <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
        <attributes>
            <attribute name="maven.pomderived" value="true"/>
            <attribute name="test" value="true"/>
        </attributes>
    </classpathentry>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
        <attributes>
            <attribute name="maven.pomderived" value="true"/>
        </attributes>
    </classpathentry>
    <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
        <attributes>
            <attribute name="maven.pomderived" value="true"/>
        </attributes>
    </classpathentry>
    <classpathentry kind="src" path="target/generated-sources/annotations">
        <attributes>
            <attribute name="optional" value="true"/>
            <attribute name="maven.pomderived" value="true"/>
            <attribute name="ignore_optional_problems" value="true"/>
            <attribute name="m2e-apt" value="true"/>
        </attributes>
    </classpathentry>
    <classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
        <attributes>
            <attribute name="optional" value="true"/>
            <attribute name="maven.pomderived" value="true"/>
            <attribute name="ignore_optional_problems" value="true"/>
            <attribute name="m2e-apt" value="true"/>
            <attribute name="test" value="true"/>
        </attributes>
    </classpathentry>
    <classpathentry kind="output" path="target/classes"/>
</classpath>
snjeza commented 2 years ago

@jkone27 m2e selects Java 1.8. Does it work from the command line? Could you try to set

<properties>
...
     <java.version>17</java.version>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>
...
</properties>
jkone27 commented 2 years ago

if i run just mvn install from command line it does build fine and runs the unit tests fine (it always did) only the ide/editor is reporting the problems from vscode only. In my pom.xml is laready specified java version,

    <properties>
        <java.version>17</java.version>
        <application.name>${project.artifactId}</application.name>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>
    </properties>

i added the 2 lines you specified but didnt help at all even after mvn clean and reload project, and even after delete workspace and close and reopen vsocde.

still same problems as before.... List.of doesnt exist....

where does vscode or eclipse m2 core take that java version from?

snjeza commented 2 years ago

where does vscode or eclipse m2 core take that java version from?

m2ee reads pom.xml - https://github.com/eclipse-m2e/m2e-core/blob/master/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java#L603

Could you try to remove or comment the following line:

 <application.name>${project.artifactId}</application.name>
jkone27 commented 1 year ago

didnt help...

snjeza commented 1 year ago

@jkone27 Do you have a parent project?

jkone27 commented 1 year ago

yes it does have one

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <groupId>com.acme.sa</groupId>
        <artifactId>sa-parent</artifactId>
        <version>6.3.3856</version>
    </parent>
snjeza commented 1 year ago

@jkone27 Could you try to add

<build>
    <pluginManagement>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.10.1</version>
                <configuration>
                    <source>17</source>
                    <target>17</target>
                </configuration>
            </plugin>
        </plugins>
    </pluginManagement>
</build>

to your project's pom.xml.

jkone27 commented 1 year ago
Screenshot 2022-11-29 at 15 54 48

still no luck..

snjeza commented 1 year ago

yes it does have one

@jkone27 Could you show parent's pom.xml?

fbricon commented 1 year ago

@jkone27 actually show your project's effective pom (mvn help:effective-pom) or if you have the Maven extension installed, Right click on the project in the Maven view, and select "Show Effective POM"

snjeza commented 1 year ago

settings.json

Is there .vscode/setting.json (Workspace Settings)?