Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Deepak Sahu
Deploying an ext
June 3, 2012 10:27 PM
Answer

Deepak Sahu

Rank: New Member

Posts: 13

Join Date: May 22, 2012

Recent Posts

Hi all ,
After deploying an ext I am getting the following error. can somebody help me out.

Buildfile: /home/deepak/PPC/plugin-sdk-6.1/ext/pps-cloud-ext/build.xml
compile:
compile-with-global-class-loader:
compile-java:
compile-with-portal-class-loader:
compile-java:
compile-with-portal-class-loader:
compile-java:
compile-with-portal-class-loader:
compile-java:
compile-with-portal-class-loader:
compile-java:

BUILD FAILED
/home/deepak/PPC/plugin-sdk-6.1/ext/build-common-ext.xml:153: .

"docroot\WEB-INF\ext-web\docroot\WEB-INF\lib" must not exist. Put JAR files in
"docroot\WEB-INF\ext-lib\portal" that need to be accessible to the portal class
loader.

Total time: 2 seconds
Romeo Sheshi
RE: Deploying an ext
June 3, 2012 10:41 PM
Answer

Romeo Sheshi

Rank: New Member

Posts: 20

Join Date: May 9, 2012

Recent Posts

Hi you hav an dir "docroot\WEB-INF\ext-web\docroot\WEB-INF\lib" you have to delete this dir and put your jar in the directory "docroot\WEB-INF\ext-lib\portal"
Deepak Sahu
RE: Deploying an ext
June 3, 2012 10:44 PM
Answer

Deepak Sahu

Rank: New Member

Posts: 13

Join Date: May 22, 2012

Recent Posts

Romeo Sheshi:
Hi you hav an dir "docroot\WEB-INF\ext-web\docroot\WEB-INF\lib" you have to delete this dir and put your jar in the directory "docroot\WEB-INF\ext-lib\portal"


Hi Romeo,
Which jar I have to add.
Romeo Sheshi
RE: Deploying an ext
June 3, 2012 10:46 PM
Answer

Romeo Sheshi

Rank: New Member

Posts: 20

Join Date: May 9, 2012

Recent Posts

if you have jars in this folder "docroot\WEB-INF\ext-web\docroot\WEB-INF\lib" put them in "docroot\WEB-INF\ext-lib\portal" otherwise only delete the folder "docroot\WEB-INF\ext-web\docroot\WEB-INF\lib"
Deepak Sahu
RE: Deploying an ext
June 3, 2012 10:49 PM
Answer

Deepak Sahu

Rank: New Member

Posts: 13

Join Date: May 22, 2012

Recent Posts

Romeo Sheshi:
if you have jars in this folder "docroot\WEB-INF\ext-web\docroot\WEB-INF\lib" put them in "docroot\WEB-INF\ext-lib\portal" otherwise only delete the folder "docroot\WEB-INF\ext-web\docroot\WEB-INF\lib"


Thanks Romeo,
Now its working emoticon
Jacques Traore
RE: Deploying an ext
May 10, 2013 11:25 AM
Answer

Jacques Traore

Rank: Junior Member

Posts: 46

Join Date: January 21, 2013

Recent Posts

Thanks guys,
A year after... emoticon
Chirag M Gurav
RE: Deploying an ext
November 6, 2013 11:20 PM
Answer

Chirag M Gurav

Rank: New Member

Posts: 20

Join Date: January 4, 2013

Recent Posts

Hi.. I have deployed the ext using "ant clean direct-deploy" but no any library getting in lib folder at this path"docroot\WEB-INF\ext-web\docroot\WEB-INF\lib" ant getting Error like

"docroot\WEB-INF\ext-web\docroot\WEB-INF\lib" must not exist. Put JAR files in
"docroot\WEB-INF\ext-lib\portal" that need to be accessible to the portal class
Loader."
Romeo Sheshi
RE: Deploying an ext
November 6, 2013 11:35 PM
Answer

Romeo Sheshi

Rank: New Member

Posts: 20

Join Date: May 9, 2012

Recent Posts

Hi,
You have to delete this directory
docroot\WEB-INF\ext-web\docroot\WEB-INF\lib

If you have jars in this directory put them in docroot\WEB-INF\ext-lib\portal