You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is why some of the folks using protobuf-maven-plugin aren't having the protobuf generated resources added to vscode's understanding of the classpath. (And, so, they have to explicitly add it with builder-helper-maven-plugin.) Folks (like me) use <protocArtifact>com.google.protobuf:protoc:3.19.3:exe:${os.detected.classifier}</protocArtifact> to specify the protoc to use in the build. That causes vscode to bail even though it works correctly with
I had the same issue trying to congire my webfux project with grpc and the solution was rather simple.
For IntelliJ IDEA:
- Click the Maven tab on the right side
- Click the refresh icon (🔄)
- The Reload all Maven projects
That fixed my issue.
Reacted by kelseyyam, thomas2schwieters and meftahul1
Activity
fbricon commentedon Feb 13, 2019
as mentioned in https://github.com/trustin/os-maven-plugin#issues-with-eclipse-m2e-or-other-ides, this extension is not loaded by m2e.
It might be possible to load os-maven-plugin-1.6.1.jar as a java extension of jdt.ls though, but that'd require another vscode extension
DachuanZhao commentedon Jul 21, 2021
Any progress ?
pseudovector commentedon Dec 3, 2021
Got the same issue here
jmhodges commentedon Jan 16, 2022
I think this is why some of the folks using protobuf-maven-plugin aren't having the protobuf generated resources added to vscode's understanding of the classpath. (And, so, they have to explicitly add it with builder-helper-maven-plugin.) Folks (like me) use
<protocArtifact>com.google.protobuf:protoc:3.19.3:exe:${os.detected.classifier}</protocArtifact>to specify the protoc to use in the build. That causes vscode to bail even though it works correctly within the
<build>.(This is also causing red squiggles in
pom.xml, of course)jmhodges commentedon Jan 16, 2022
This seems to be a
m2ebug, according to os-maven-plugin's README: https://github.com/trustin/os-maven-plugin#issues-with-eclipse-m2e-or-other-idesDachuanZhao commentedon Jan 17, 2022
According to https://stackoverflow.com/a/68660430/6862189 , you should add
to maven setting file .
AkashKumarIT commentedon Sep 7, 2025
adding this solved my problem
Nyagar-Abraham commentedon Sep 22, 2025
I had the same issue trying to congire my webfux project with grpc and the solution was rather simple.
For IntelliJ IDEA:
- Click the Maven tab on the right side
- Click the refresh icon (🔄)
- The Reload all Maven projects
That fixed my issue.
fbricon commentedon Oct 29, 2025
os-maven-plugin properties have been resolved by default for some time.
Closing.