Skip to content

Native image compatibility #61

@zscauer

Description

@zscauer

Был ли у кого нибудь успешный опыт сборки native image приложения с данным sdk?
Пробовал собрать spring и quarkus (все последней версии), но не получается собрать из-за библиотеки
io.grpc:grpc-netty-shaded.

Во время сборки возникают ошибки относительно различных классов вроде этой:

Caused by: com.oracle.graal.pointsto.constraints.UnresolvedElementException:
Discovered unresolved type during parsing: org.apache.log4j.Logger.
This error is reported at image build time because class io.grpc.netty.shaded.io.netty.util.internal.logging.Log4JLoggerFactory is registered for linking at image build time by command line

Попытки проинициализировать проблемные классы в runtime вместо buildtime безуспешны.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions