[ 
https://issues.apache.org/jira/browse/MEECROWAVE-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16519797#comment-16519797
 ] 

Terefang Verigorn commented on MEECROWAVE-118:
----------------------------------------------

i have traced the invocation, so more info:

the request is routed to my:

@WebServlet("/") public class IndexServlet extends HttpServlet

instead, which seams entirely wrong with me.

 

is this intended behaviour ? or is this a problem in tomcat/catalina instead ?

> /META-INF/resources/... not available as http resources if deployed from 
> classpath
> ----------------------------------------------------------------------------------
>
>                 Key: MEECROWAVE-118
>                 URL: https://issues.apache.org/jira/browse/MEECROWAVE-118
>             Project: Meecrowave
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>         Environment: $ uname -a
> Linux oni 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 
> 2017 x86_64 x86_64 x86_64 GNU/Linux
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID:       LinuxMint
> Description:  Linux Mint 18.3 Sylvia
> Release:      18.3
> Codename:     sylvia
> $ java -version
> java version "1.8.0_171"
> Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
> $ mvn --version
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 
> 2017-04-03T21:39:06+02:00)
> Maven home: /data/sdkman/candidates/maven/current
> Java version: 1.8.0_171, vendor: Oracle Corporation
> Java home: /data/sdkman/candidates/java/8.0.171-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.8.0-58-generic", arch: "amd64", family: "unix"
>            Reporter: Terefang Verigorn
>            Priority: Major
>
> if using "meecrowave.sh run" with everything packaged into 
> ${meecrowave.home}/lib/*.jar files,
> resources from "/META-INF/resources/..." are not available as http resources
> eg. /META-INF/resources/webjars/jquery.js -> 
> [http://host:port/webjars/jquery.js|http://hostport/] -> not found
> i am trying to use the pre-packaged webjars of jquery etc 
> (http://mvnrepository.com/artifact/org.webjars/jquery)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to