vert-x3 / vertx-service-proxy

EventBus Proxy generation
Apache License 2.0
67 stars 58 forks source link

Unable to Run with IntelliJ IDEA 2021.3 #130

Open zsafder opened 2 years ago

zsafder commented 2 years ago

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.

pmlopes commented 2 years ago

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

zsafder commented 2 years ago

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 commented 2 years ago

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

sinozozo commented 2 years ago

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

image