-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java explorer don't show .java files #793
Comments
Will the java project explorer show correct content if directly open that sub-folder in VS Code? And btw, would you mind sharing your extension version please. |
It doesn't work when opening the subfolder.
|
Looks like due to some reason, the project is not imported as a Java project. Does it work if you directly open it in windows instead of WSL? If still not working, is it possible to share a sample project which can reproduce this issue? |
I found a strange point : |
Still cannot repro using WSL Could you share the server logs? You can get it by command |
|
This don't change the fact when I put maven-resources-plugin, I don't have problem. |
AFAIK, IntelliJ has some extra work to auto configure the cert: https://www.jetbrains.com/help/idea/ssl-certificates.html Hi @snjeza, do you know if there is any way to work around the issue |
@Raidez Could you run
and attach their output?
You can try
|
> mvn -version
Apache Maven 3.8.6 (Red Hat 3.8.6-4)
Maven home: /usr/share/maven
Java version: 17.0.9, vendor: Eclipse Adoptium, runtime: /usr/lib/jvm/temurin-17-jdk
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "5.15.123.1-microsoft-standard-wsl2", arch: "amd64", family: "unix" When it's OK/NOK (same result) : > mvn -U clean verify
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------------< com.example:demo >--------------------------
[INFO] Building demo 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ demo ---
[INFO] Deleting /my-folder/demo/target
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /my-folder/demo/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ demo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /my-folder/demo/target/classes
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /my-folder/demo/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ demo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ demo ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ demo ---
[INFO] Building jar: /my-folder/demo/target/demo-1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.992 s
[INFO] Finished at: 2023-11-02T08:45:03+01:00
[INFO] ------------------------------------------------------------------------ Openssl don't works : > openssl s_client -connect my-enterprise-repo-maven
40BC37C6F67F0000:error:10080002:BIO routines:BIO_lookup_ex:system lib:crypto/bio/bio_addr.c:738:Servname not supported for ai_socktype
connect:errno=0 |
@Raidez could you show your maven repository url? could you try
|
> ping my-enterprise-repo-maven
ping: my-enterprise-repo-maven: Name or service not known |
@Raidez could you show your maven repository url? |
I can't show my maven url, but I discovered another thing. |
@Raidez Is your problem resolved? |
YEs |
Ok. Anyway, good to know the problem is fixed. And thank you @snjeza for the help! ❤ |
In my folder, I have a subfolder containing my project (pom and java), maven correctly detects the project, however there is no java file in the java explorer.
File explorer and java explorer
Another working projetct
The text was updated successfully, but these errors were encountered: