bertramdev / asset-pipeline

The core implementation of the asset pipeline for the jvm
193 stars 91 forks source link

Grails 4 - JAR packaging cannot find plugin assets #244

Open mahileeb opened 4 years ago

mahileeb commented 4 years ago

I am using the spring-websocket plugin with grails 4 and when I package into an executable JAR, the plugin assets cannot be found:

| Resolving Dependencies. Please wait...

CONFIGURE SUCCESSFUL in 2s
Processing File 7 of 68 - bootstrap.bundle.min.js
...
Unable to Locate Asset: /spring-websocket

They are correctly found via run-app or WAR packaging

davydotcom commented 4 years ago

need a lot more information here to solve. IT should resolve just fine but need to know how your build.gradle is defined and also how your require directive is setup

mahileeb commented 4 years ago

Apologies - here's an example project which you can see the error logged when running grails package

https://drive.google.com/file/d/1rd5h135Op76s0qRSmGhvkNk_13GUC8MR/view?usp=sharing