Anuj Kumar Gupta wrote:
> Hi Burn,
> 
> Actually this GATEApplicationAnnotator.java is in com.ibm.uima API.
> so I change almost aal claases to corresponding org.apache.uima APIs.

Seems to me you're trying to use an old, com.ibm.* version of UIMA
with a new, org.apache.* version.  That will simply not work.  I'm
not sure there is an up-to-date version of the GATE/UIMA compat
package.  Have you asked the GATE folks?  They developed it, I
believe.

Simply changing the package declarations will not get you anywhere,
I'm afraid.

> 
> now I am getting some errors like..
> 
> The type com.ibm.uima.cas.TypeSystem cannot be resolved. It is indirectly
> referenced from
> 
> required .class files
> at this line..
> 
> ObjectBuilder inputBuilder = ObjectManager.*createBuilder*(mapping,
> typeSystem);
> 
> 
> The method createBuilder(Element, TypeSystem) in the type ObjectManager is
> not applicable for
> 
> the arguments (Element, TypeSystem) at this line....
> *
> 
> createBuilder*(mapping, typeSystem);
> and some more..
> 
> even I have import
> 
> *
> 
> import* org.apache.uima.cas.TypeSystem;
> 
> not   com.ibm.uima.cas.TypeSystem
> 
> 
> 
> Please suggest ????
> 
> 
> 
> 
> On Tue, Jan 27, 2009 at 7:46 PM, Burn Lewis <[email protected]> wrote:
> 
>> Did you post the error messages?  I don't know if they're hidden somewhere
>> but I don't see anything in your post that indicates what the errors are.
>>
>>  - Burn.
>>
> 

Reply via email to