Abderrazak L
Abderrazak L

Reputation: 37

How to add JAR files to a Liberty java web application in Bluemix with WEB-INF missing?

i need to add a jar file to a Liberty application in Bluemix. The WEB-INF folder is missing. How can i do that ? Thank you.

Upvotes: 0

Views: 851

Answers (2)

Leonardo Kenji Shikida
Leonardo Kenji Shikida

Reputation: 751

Your java web application must have a WEB-INF directory.

See http://docs.oracle.com/javaee/6/tutorial/doc/bnadx.html

If you can't find it in your project, you can double click in your liberty in the bluemix console and inspect the liberty instance files, like this

enter image description here

WEB-INF should be at

app->wlp->usr->servers->defaultServer->apps->myapp.war->WEB-INF->libs

Upvotes: 0

v.bontempi
v.bontempi

Reputation: 1562

The WEB-INF folder shouldn't be missing, it should include at least your web.xml configuration file and your lib directory, where the liberty runtime is expecting to find the libraries you want to upload along with your application

Upvotes: 1

Related Questions