maven 2 - After updating a dependency to a new version (jfreechart from 1.0.12 to 1.0.13) I get "the type cannot be resolved..." errors -


i changed version jfreechart in pom.xml of maven project 1.0.12 1.0.13. error "the type org.jfree.ui.layer cannot resolved type. indirectly referenced required class files."

what mean? updated jfreechart dependency.

the type in jcommons library. think problem jfreechart has not been distributed maven in version 1.0.13. in ibiblio directory listing, can see .pom file missing (as opposed version 1.0.12, it's present).

this means maven has no ideas dependencies are. still downloads artifact through it's filename convention, doesn't know context.

now can either complain vendor , demand proper pom or create own pom file (start the old version , adjust until things start working) , deploy company's repository (or local repository) using install:install-file or deploy:deploy-file.

my guess you'll @ least have include following dependency

<dependency>     <groupid>jfree</groupid>     <artifactid>jcommon</artifactid>     <version>1.0.15</version> </dependency> 

(if want easy way, add above dependency own project pom)


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -