You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by Jim Alateras <ji...@comware.com.au> on 2007/08/13 14:25:35 UTC

compilation error building core module.

I am getting the following error building the core module

[INFO] 
----------------------------------------------------------------------------
[INFO] Building Abdera Core
[INFO]    task-segment: [clean, install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\projects\app\abdera\core\target
[INFO] Deleting directory C:\projects\app\abdera\core\target\classes
[INFO] Deleting directory C:\projects\app\abdera\core\target\test-classes
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 77 source files to C:\projects\app\abdera\core\target\classes
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure

C:\projects\app\abdera\core\src\main\java\org\apache\abdera\model\ExtensibleElementWrapper.java:[106,40] 
type parameters of <T>T can
not be determined; no unique maximal instance exists for type variable T 
with upper bounds T,org.apache.abdera.model.Element

The source looks fine to me so was wondering whether anyone else has 
come across this compilation error.

I am using maven and running java "1.5.0_09"

cheers
</jima>

Re: compilation error building core module.

Posted by Jim Alateras <ji...@comware.com.au>.
I have attached a patch, which resolves the compilation problem

cheers
</jima>

Jim Alateras wrote:
> James,
> 
> There also a similar error in the parser module
> 
> [INFO] 
> ---------------------------------------------------------------------------- 
> 
> [INFO] Building Abdera Parser
> [INFO]    task-segment: [clean, install]
> [INFO] 
> ---------------------------------------------------------------------------- 
> 
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\projects\app\abdera\parser\target
> [INFO] Deleting directory C:\projects\app\abdera\parser\target\classes
> [INFO] Deleting directory C:\projects\app\abdera\parser\target\test-classes
> [INFO] [cobertura:clean {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> Compiling 49 source files to C:\projects\app\abdera\parser\target\classes
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> C:\projects\app\abdera\parser\src\main\java\org\apache\abdera\parser\stax\FOMExtensibleElement.java:[210,39] 
> type parameters of <T>T
>  cannot be determined; no unique maximal instance exists for type 
> variable T with upper bounds T,org.apache.abdera.model.Element
> 
> cheers
> </jima>
> 
>> Sorry about that.  Fixed in trunk.
>>
>> - James
>>
>> Jim Alateras wrote:
>>> I am getting the following error building the core module
>>>
>>> [INFO]
>>> ---------------------------------------------------------------------------- 
>>>
>>>
>>> [INFO] Building Abdera Core
>>> [INFO]    task-segment: [clean, install]
>>> [INFO]
>>> ---------------------------------------------------------------------------- 
>>>
>>>
>>> [INFO] [clean:clean]
>>> [INFO] Deleting directory C:\projects\app\abdera\core\target
>>> [INFO] Deleting directory C:\projects\app\abdera\core\target\classes
>>> [INFO] Deleting directory 
>>> C:\projects\app\abdera\core\target\test-classes
>>> [INFO] [cobertura:clean {execution: default}]
>>> [INFO] [resources:resources]
>>> [INFO] Using default encoding to copy filtered resources.
>>> [INFO] [compiler:compile]
>>> Compiling 77 source files to C:\projects\app\abdera\core\target\classes
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Compilation failure
>>>
>>> C:\projects\app\abdera\core\src\main\java\org\apache\abdera\model\ExtensibleElementWrapper.java:[106,40] 
>>>
>>> type parameters of <T>T can
>>> not be determined; no unique maximal instance exists for type variable T
>>> with upper bounds T,org.apache.abdera.model.Element
>>>
>>> The source looks fine to me so was wondering whether anyone else has
>>> come across this compilation error.
>>>
>>> I am using maven and running java "1.5.0_09"
>>>
>>> cheers
>>> </jima>
>>>
>>
> 
> 


Re: compilation error building core module.

Posted by James M Snell <ja...@gmail.com>.
Fixed.

- james

Jim Alateras wrote:
> James,
> 
> There also a similar error in the parser module
> 
> [INFO]
> ----------------------------------------------------------------------------
> 
> [INFO] Building Abdera Parser
> [INFO]    task-segment: [clean, install]
> [INFO]
> ----------------------------------------------------------------------------
> 
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\projects\app\abdera\parser\target
> [INFO] Deleting directory C:\projects\app\abdera\parser\target\classes
> [INFO] Deleting directory C:\projects\app\abdera\parser\target\test-classes
> [INFO] [cobertura:clean {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> Compiling 49 source files to C:\projects\app\abdera\parser\target\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> C:\projects\app\abdera\parser\src\main\java\org\apache\abdera\parser\stax\FOMExtensibleElement.java:[210,39]
> type parameters of <T>T
>  cannot be determined; no unique maximal instance exists for type
> variable T with upper bounds T,org.apache.abdera.model.Element
> 
> cheers
> </jima>
> 
>> Sorry about that.  Fixed in trunk.
>>
>> - James
>>
>> Jim Alateras wrote:
>>> I am getting the following error building the core module
>>>
>>> [INFO]
>>> ----------------------------------------------------------------------------
>>>
>>>
>>> [INFO] Building Abdera Core
>>> [INFO]    task-segment: [clean, install]
>>> [INFO]
>>> ----------------------------------------------------------------------------
>>>
>>>
>>> [INFO] [clean:clean]
>>> [INFO] Deleting directory C:\projects\app\abdera\core\target
>>> [INFO] Deleting directory C:\projects\app\abdera\core\target\classes
>>> [INFO] Deleting directory
>>> C:\projects\app\abdera\core\target\test-classes
>>> [INFO] [cobertura:clean {execution: default}]
>>> [INFO] [resources:resources]
>>> [INFO] Using default encoding to copy filtered resources.
>>> [INFO] [compiler:compile]
>>> Compiling 77 source files to C:\projects\app\abdera\core\target\classes
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Compilation failure
>>>
>>> C:\projects\app\abdera\core\src\main\java\org\apache\abdera\model\ExtensibleElementWrapper.java:[106,40]
>>>
>>> type parameters of <T>T can
>>> not be determined; no unique maximal instance exists for type variable T
>>> with upper bounds T,org.apache.abdera.model.Element
>>>
>>> The source looks fine to me so was wondering whether anyone else has
>>> come across this compilation error.
>>>
>>> I am using maven and running java "1.5.0_09"
>>>
>>> cheers
>>> </jima>
>>>
>>
> 
> 

Re: compilation error building core module.

Posted by Jim Alateras <ji...@comware.com.au>.
James,

There also a similar error in the parser module

[INFO] 
----------------------------------------------------------------------------
[INFO] Building Abdera Parser
[INFO]    task-segment: [clean, install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\projects\app\abdera\parser\target
[INFO] Deleting directory C:\projects\app\abdera\parser\target\classes
[INFO] Deleting directory C:\projects\app\abdera\parser\target\test-classes
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 49 source files to C:\projects\app\abdera\parser\target\classes
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure

C:\projects\app\abdera\parser\src\main\java\org\apache\abdera\parser\stax\FOMExtensibleElement.java:[210,39] 
type parameters of <T>T
  cannot be determined; no unique maximal instance exists for type 
variable T with upper bounds T,org.apache.abdera.model.Element

cheers
</jima>

> Sorry about that.  Fixed in trunk.
> 
> - James
> 
> Jim Alateras wrote:
>> I am getting the following error building the core module
>>
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>> [INFO] Building Abdera Core
>> [INFO]    task-segment: [clean, install]
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>> [INFO] [clean:clean]
>> [INFO] Deleting directory C:\projects\app\abdera\core\target
>> [INFO] Deleting directory C:\projects\app\abdera\core\target\classes
>> [INFO] Deleting directory C:\projects\app\abdera\core\target\test-classes
>> [INFO] [cobertura:clean {execution: default}]
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [compiler:compile]
>> Compiling 77 source files to C:\projects\app\abdera\core\target\classes
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>>
>> C:\projects\app\abdera\core\src\main\java\org\apache\abdera\model\ExtensibleElementWrapper.java:[106,40]
>> type parameters of <T>T can
>> not be determined; no unique maximal instance exists for type variable T
>> with upper bounds T,org.apache.abdera.model.Element
>>
>> The source looks fine to me so was wondering whether anyone else has
>> come across this compilation error.
>>
>> I am using maven and running java "1.5.0_09"
>>
>> cheers
>> </jima>
>>
> 


Re: compilation error building core module.

Posted by James M Snell <ja...@gmail.com>.
Sorry about that.  Fixed in trunk.

- James

Jim Alateras wrote:
> I am getting the following error building the core module
> 
> [INFO]
> ----------------------------------------------------------------------------
> 
> [INFO] Building Abdera Core
> [INFO]    task-segment: [clean, install]
> [INFO]
> ----------------------------------------------------------------------------
> 
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\projects\app\abdera\core\target
> [INFO] Deleting directory C:\projects\app\abdera\core\target\classes
> [INFO] Deleting directory C:\projects\app\abdera\core\target\test-classes
> [INFO] [cobertura:clean {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> Compiling 77 source files to C:\projects\app\abdera\core\target\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> C:\projects\app\abdera\core\src\main\java\org\apache\abdera\model\ExtensibleElementWrapper.java:[106,40]
> type parameters of <T>T can
> not be determined; no unique maximal instance exists for type variable T
> with upper bounds T,org.apache.abdera.model.Element
> 
> The source looks fine to me so was wondering whether anyone else has
> come across this compilation error.
> 
> I am using maven and running java "1.5.0_09"
> 
> cheers
> </jima>
>