开发者

Cannot find tld file, tld is in shared lib

开发者 https://www.devze.com 2023-02-10 14:00 出处:网络
I am trying to publish applications onto portal server, the pu8blication fails as it is unable to find a .tld file in the WEB-INF dir.

I am trying to publish applications onto portal server, the pu8blication fails as it is unable to find a .tld file in the WEB-INF dir.

The tld is file is actually not there in the WEB-INF dir, we use the tld file for 20 more applications, so we put that in a shared lib with some other jars.

How do I tell RAD to check the shared lib when it is trying to publish it to my server ? or How can i tell it to ignore the tld file, because my application loads the tld files when it starts up.

any help is appreci开发者_运维知识库ated.


You should put your .tld files in a folder named tlds under the META-INF folder of your java project. Then the project should be checked in the Web libraries tab of the Java EE Module Dependencies of your web app project.


This is probabaly not the answer you want, but here it is.

To solve a similar problem (same, but not with servlets, not portlets) I created a directory named ".../WEB-INF/tld" in my project and copied the tld file out of the shared lib into my project.

While I do not recommend this as a solution, it is the only solution I could get to work with WAS 6.1

0

精彩评论

暂无评论...
验证码 换一张
取 消