[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Cannot resolve indirectly referenced type

I have a class A with a member of type B that is imported from another
bundle. Class B has javax.persistence annotations, but that is
irrelevant in the bundle containing class A. This compiles and runs
fine in Eclipse, but unless I add an Import-Package for
javax.persistence to the bundle containing class A the Tycho build

[ERROR] Failed to execute goal
(default-compile) on project test: Compilation failure: Compilation
[ERROR] A.java (at line 1):[-1,-1]
[ERROR] package test;
[ERROR] The type javax.persistence.FetchType cannot be resolved. It is
indirectly referenced from required .class files

Who is right and who is wrong?