This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Maven compilation error "is not within its bound"

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I have my webapp projet in Eclipse which compile correctly but when I try to perform "mvn clean compile", several following logs appears:

[ERROR] \Java\Workspaces\Indigo\mycompanycrm4\mycompany-webapp\src\main\java\com\mycompany\frontline\display\render\custom\ImageHandleBarRenderBoolCustom.java:[16,95] type parameter com.mycompany.frontline.property.display.valuable.bean.BooleanMonoValueBean is not within its bound

My class implements correctly generic, inteface, inheritance tree ... the application work correctly in my tomcat launched by Eclipse, but when I try to package it the compiler block ...
I'm not able to change the code, do you know a solution to force Maven to compile correctly ? Have you ever faced the problem ?

I can't attach the log file due to an uploading problem "Files with the extension .log are not allowed as attachment in the message" (same error with .txt extension). Bellow the traces:



Thank you very much

Best regards,

Adrien
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would have to see the lines in the sources files, the lines causing the error. I suspect that the object type for a generic class is being restricted and you are using a class that doesn't match the restriction. But like I said, I'd need to see some code to verify this.
 
I'm gonna teach you a lesson! Start by looking at this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!