You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2018/06/21 20:22:00 UTC

[jira] [Commented] (MEECROWAVE-118) /META-INF/resources/... not available as http resources if deployed from classpath

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

Romain Manni-Bucau commented on MEECROWAVE-118:
-----------------------------------------------

Hi

 

If you deploy a war this is intended IIRC cause not part of the app (tomcat behavior) but as classpath it works. You can however force it with config or context customizer to add it in webresources of tomcat.

> /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)