Relative Content

Tag Archive for trino

trino jars/classes not accessible during maven compilation. Getting “cannot access” issue for any classes from the trino jars

I have added trino jars (trino-main,trino-spi & trino-parser) in my maven project. When I open the project in IDE, I can see the jars getting properly loaded and I am able to see the suggestions for trino classes as well.
But when I try to compile the same project I am getting “cannot access” errors for these classes:
For example in IDE I am able to write below import with taking editor suggestions for classes in package (io.trino.spi.type):

trino jars/classes not accessible during maven compilation. Getting “cannot access” issue for any classes from the trino jars

I have added trino jars (trino-main,trino-spi & trino-parser) in my maven project. When I open the project in IDE, I can see the jars getting properly loaded and I am able to see the suggestions for trino classes as well.
But when I try to compile the same project I am getting “cannot access” errors for these classes:
For example in IDE I am able to write below import with taking editor suggestions for classes in package (io.trino.spi.type):

Bí ẩn những nơi kỳ quái nhất thế giới

Con người luôn tự hào với với trình độ khoa học kỹ thuật của mình, đã khám phá hết mọi ngọc ngách trên trái đất và bắt đầu vươn vào khám phá khoảng không vũ trụ. Thực ra vẫn còn rất nhiều nơi trên hành tinh này mà với tầm hiểu biết của mình, con người vẫn chưa thể khám phá nổi.