I try to create jar with mvn install
, but Spring boot maven plugin skips some classes from the jar. In particular those which can are not part of my groupId
if it is related. How to include all the classes?
Asked
Active
Viewed 46 times
0
-
You want to block the code execution till you get an answer ? – Hamza Abdaoui Mar 01 '18 at 14:17
-
1using `async/await` – guijob Mar 01 '18 at 14:18
1 Answers
0
There is no way to actually wait for the result of an async execution in JavaScript. JavaScript, whether server-side or browser-based, uses a single event loop/queue. Async operations just involve multiple events posted on the queue. You can use async/await (in modern JS) to write your code as if it were blocking but that's just syntactic sugar.

john_omalley
- 1,398
- 6
- 13