• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Trying to use webjars with maven java war

Its not working, anyways I found this website and under the heading "configure spring" it says "We need to add a resource handler for /webjars/** to associate it with classpath:/META-INF/resources/webjars/ located in the bootstrap-3.2.0.jar":

https://samerabdelkafi.wordpress.com/2014/09/17/bootstrap-3/

Im not using Spring so im not sure how to go about doing that 😵 Im using a maven war project with servlet 3, no other frameworks. Maven has successfully downloaded jquery and bootstrap:

BlsZA6O.png



PS Is this a good way to deal with dependencies? Up until now ive just been sticking this into web pages:

Code:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>

or in the case of bootstrap downloading the files and directly dropping them into the project and it occurred to me if I ever wanted to update to a newer version I would need to change every single page manually which kind of sucks.
 
Back
Top