Eclipse - Make dynamic web application include other projects in workspace -
i'd exported .war file include other (referenced) projects in workspace.
when reference them in build path only, shows no "problems", classnotfoundexception thrown later, when try "run on server" or export.
using eclipse kepler, tomcat 7.0.42.
i've seen solution here: not able configure run path web application project in eclipse workspace; that's how works now. there more convenient way?
are running tomcat within eclipse? try this:
run
->run configurations...
(ordebug configurations...
).- find
tomcat v7.0 server @ localhost
(or whatever it's named you) underapache tomcat
on left-hand side. - go
classpath
tab on right. - select
user entries
, clickadd projects...
. - select projects wish include.
that should place project on tomcat's classpath.
Comments
Post a Comment