Hello, I am working with the Reporting module and wanted to build it but I am having an issue linking with javax.
.
When I add a maven dependency
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
The build is ok, but the module can’t deploy.
Please someone can help?
1 Like
herbert24
(Herbert Yiga)
April 14, 2022, 1:50pm
2
how are you building the module?
sharif
(Sharif Magembe)
April 14, 2022, 2:01pm
3
Could you share the exact error log that you encounter after deploying it.
@sharif Here is the error I have.
I am using Java 1.8
sharif
(Sharif Magembe)
April 14, 2022, 2:35pm
6
You have un defined bean class called ReportingCompatibilityUrlMapping. Have you made other changes minus this the one adding dependency?
herbert24
(Herbert Yiga)
April 14, 2022, 2:43pm
7
@anatoleabe we need to look at the full error logs
1 Like
You are right @sharif . The issue was coming from the maven dependency I added. I added it because I was seeing errors in my IDE. After I removed it, and do mvn clean install then I was able to build and deploy the module. Thank you very much for your help.
1 Like