Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Java] Missing Constraint: Require-Bundle for classes in common.jar #501

Open
@Inky19

Description

I tried to use TsFile in an Eclipse RCP application using Java 17 and Maven 3.9.9. However, some constraints in the org.apache.tsfile (2.0.2) bundle are missing when launching the "Eclipse Application" run configuration:

Missing constraint: Require-Bundle org.apache.tsfile.enums ; bundle-version="0.0.0 "
Missing constraint: Require-Bundle org.apache.tsfile.block ; bundle-version="0.0.0 "
Missing constraint: Require-Bundle org.apache.tsfile.block.column ; bundle-version="0.0.0 "

This seems to be due to a lack of OSGi definitions in the common-2.0.2.jar manifest.

One workaround is to create a plugin to wrap the two .jar files and re-export everything, but this means having to download and manage the jars manually, which isn't ideal.

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

        AltStyle によって変換されたページ (->オリジナル) /