Now I managed to compile it. I'm adding this to the POM: <dependency> <groupId>org.springframework.osgi</groupId> <artifactId>spring-osgi-core</artifactId> <version>1.1.0</version> </dependency>
This artifact contains the package not found. But still don't understand why in Windows (and sometimes in Linux) compiles without this piece of code. It's a nonsense to me. Any idea why this happens? Albert Wayne Fay wrote: > >> I had no problems compiling this project before, and one day started to >> fail >> without doing nothing special. The same project, in my PC with windows XP >> and Maven 2.0.10, compiles well. I have tried everything! >> And I know the problem is in the maven-compiler-plugin. Doing some stuff > > I highly doubt the problem is in m-c-p. What does your pom.xml look > like, specifically the dependency on the artifact that contains the > Spring OSGi classes? Is that version locked down using > <version>[x.y.z]</version>? Are you sure that artifact actually > contains the classes you think it does? > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://old.nabble.com/package-org.springframework.osgi.service.importer-does-not-exist-tp27143992p27148798.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org