You cannot directly add entries to the Web App Libraries container. This
container automatically picks up libraries in the projects WEB-INF/lib
directory and adds them to the project classpath.
Can you describe your scenario in more detail? There are other ways to get
libraries on to web project's classpath such that they will get properly
bundled into the WAR in the end.
Konstantin Komissarchik wrote:
> You cannot directly add entries to the Web App Libraries container. This
> container automatically picks up libraries in the projects WEB-INF/lib
> directory and adds them to the project classpath.
> Can you describe your scenario in more detail? There are other ways to
> get libraries on to web project's classpath such that they will get
> properly bundled into the WAR in the end.
I do not want to add an entry to this container but I want to modify an
entry. I want to add a source attachment to an entry I know the name of.
How can I do that?
I found methods to read an entry but not to modify it. If I want to
modify it I have to add a new version of it. That's how I understood it.