Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependency javax.activation #15

Closed
benji1000 opened this issue May 26, 2020 · 2 comments · Fixed by #17
Closed

Missing dependency javax.activation #15

benji1000 opened this issue May 26, 2020 · 2 comments · Fixed by #17

Comments

@benji1000
Copy link

Hello,

I get the following error when compiling on Kali:

[ERROR] /opt/marshalsec/src/main/java/marshalsec/gadgets/JDKUtil.java:[52,24] package javax.activation does not exist

Adding the following block to the <dependencies> section of the pom.xml file does the trick:

<dependency>
    <groupId>javax.activation</groupId>
    <artifactId>activation</artifactId>
    <version>1.1.1</version>
</dependency>

Cheers!

@0xTen
Copy link

0xTen commented Oct 25, 2020

Hi! you need java jdk 8 in order to build... I had the same issue. Still can't make it work properly since java 8 is super old

@HomeSen
Copy link
Contributor

HomeSen commented Oct 25, 2020

Just in case someone else struggles with this: Simply add the following dependency to the pom.xml

<dependency>
    <groupId>com.sun.activation</groupId>
    <artifactId>javax.activation</artifactId>
    <version>1.2.0</version>
</dependency>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants