vertx-service-proxy icon indicating copy to clipboard operation
vertx-service-proxy copied to clipboard

Unable to Run with IntelliJ IDEA 2021.3

Open zsafder opened this issue 3 years ago • 4 comments

Hi,

If we run this code/tests using the latest IntelliJ version (2021.3), it gives the following error

/Users/<<user>>/Downloads/vertx-service-proxy-master/src/main/java/examples/SomeDatabaseService.java:15:8
java: Could not generate element for examples.SomeDatabaseService: null

We are facing issues in running our code in IntelliJ's lastest versions for quite some time. Currently, we are locked into version 2020.1 but now in the latest OSX, this IntelliJ version is deprecated.

Kindly suggest if we are missing some configurations. We need to find the solution at the earliest now.

Looking forward to a quick response.

zsafder avatar Dec 14 '21 05:12 zsafder

Hi, I'm no expert in the IDE but I can workaround it by selecting the "maven" tab and click the "m" button which allows me to run th e action "mvn verify". In this case I can run the tests

pmlopes avatar Dec 14 '21 14:12 pmlopes

Thanks, @pmlopes for the response.

Yes, maven commands do run well; but it is irrespective of IDE. We need to run (and Debug) application via IDE and that is broken in the latest IntelliJ IDE.

zsafder avatar Dec 15 '21 07:12 zsafder

Hi, anyone who can help on this issue? We are running out of time.

zsafder avatar Dec 27 '21 09:12 zsafder

you can config the IDE ,like this ↓。it will run properly . the same method to gradle。

image

sinozozo avatar Jan 19 '22 05:01 sinozozo