Can not upload to store on java app

I can not upload to the store when I try to it comes up with the following error:

  • package contains external symlinks: usr/lib/jvm/java-11-openjdk-amd64/lib/security/cacerts

but my app is java?

Hi, this post is probably best to put in the snapcraft category for more folks to see it.

Regarding your actual problem, it seems something (probably the openjdk-11 stage-package in your snapcraft.yaml) put a symlink there that shouldn’t be there. You probably need some override-build or override-prime snippet that removes or adjusts that symlink.

yes sorry an oversight on my part.

I was able to find my answer here:

1 Like