ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murtuza <khanmurt...@gmail.com>
Subject build error
Date Wed, 02 May 2007 20:34:08 GMT

Although my java version is "1.5.0_09" I am getting the following error.


    [javac] Compiling 3 source files to
/home/v884257/FinalAjaxFileUpload/webapp/WEB-INF/classes
    [javac] ----------
    [javac] 1. ERROR in
/home/v884257/FinalAjaxFileUpload/src/com/superpages/upload/business/UploadServiceImpl.java
    [javac]  (at line 11)
    [javac]     import java.util.UUID;
    [javac]            ^^^^^^^^^^^^^^
    [javac] The import java.util.UUID cannot be resolved
    [javac] ----------
    [javac] 2. ERROR in
/home/v884257/FinalAjaxFileUpload/src/com/superpages/upload/business/UploadServiceImpl.java
    [javac]  (at line 43)
    [javac]     UUID userId = UUID.randomUUID();
    [javac]     ^^^^
    [javac] UUID cannot be resolved to a type
    [javac] ----------
    [javac] 3. ERROR in
/home/v884257/FinalAjaxFileUpload/src/com/superpages/upload/business/UploadServiceImpl.java
    [javac]  (at line 43)
    [javac]     UUID userId = UUID.randomUUID();
    [javac]                   ^^^^
    [javac] UUID cannot be resolved
    [javac] ----------
    [javac] ----------
    [javac] 4. ERROR in
/home/v884257/FinalAjaxFileUpload/src/com/superpages/upload/db/VideoManagerDaoJdbc.java
    [javac]  (at line 57)
    [javac]     Map<String,String> inParameters = new
HashMap<String,String>();
    [javac]     ^^^
    [javac] The type Map is not generic; it cannot be parameterized with
arguments <String, String>
    [javac] ----------
    [javac] 5. ERROR in
/home/v884257/FinalAjaxFileUpload/src/com/superpages/upload/db/VideoManagerDaoJdbc.java
    [javac]  (at line 57)
    [javac]     Map<String,String> inParameters = new
HashMap<String,String>();
    [javac]         ^^^^^^^^^^^^^
    [javac] Syntax error, parameterized types are only available if source
level is 5.0
    [javac] ----------
    [javac] 6. ERROR in
/home/v884257/FinalAjaxFileUpload/src/com/superpages/upload/db/VideoManagerDaoJdbc.java
    [javac]  (at line 57)
    [javac]     Map<String,String> inParameters = new
HashMap<String,String>();
    [javac]                                           ^^^^^^^
    [javac] The type HashMap is not generic; it cannot be parameterized with
arguments <String, String>
    [javac] ----------
    [javac] 7. ERROR in
/home/v884257/FinalAjaxFileUpload/src/com/superpages/upload/db/VideoManagerDaoJdbc.java
    [javac]  (at line 57)
    [javac]     Map<String,String> inParameters = new
HashMap<String,String>();
    [javac]                                                   ^^^^^^^^^^^^^
    [javac] Syntax error, parameterized types are only available if source
level is 5.0
    [javac] ----------
    [javac] 8. ERROR in
/home/v884257/FinalAjaxFileUpload/src/com/superpages/upload/db/VideoManagerDaoJdbc.java
    [javac]  (at line 71)
    [javac]     int result = (Integer)results.get("success");
    [javac]         ^^^^^^
    [javac] Type mismatch: cannot convert from Integer to int
    [javac] ----------
    [javac] ----------
    [javac] 9. ERROR in
/home/v884257/FinalAjaxFileUpload/src/com/superpages/upload/web/controller/UploadFilesController.java
    [javac]  (at line 245)
    [javac]     final Map < Object, Object > model = new HashMap < Object,
Object > ();
    [javac]           ^^^
    [javac] The type Map is not generic; it cannot be parameterized with
arguments <Object, Object>
    [javac] ----------
    [javac] 10. ERROR in
/home/v884257/FinalAjaxFileUpload/src/com/superpages/upload/web/controller/UploadFilesController.java
    [javac]  (at line 245)
    [javac]     final Map < Object, Object > model = new HashMap < Object,
Object > ();
    [javac]                 ^^^^^^^^^^^^^^
    [javac] Syntax error, parameterized types are only available if source
level is 5.0
    [javac] ----------
    [javac] 11. ERROR in
/home/v884257/FinalAjaxFileUpload/src/com/superpages/upload/web/controller/UploadFilesController.java
    [javac]  (at line 245)
    [javac]     final Map < Object, Object > model = new HashMap < Object,
Object > ();
    [javac]                
    [javac]                               ^^^^^^^
    [javac] The type HashMap is not generic; it cannot be parameterized with
arguments <Object, Object>
    [javac] ----------
    [javac] 12. ERROR in
/home/v884257/FinalAjaxFileUpload/src/com/superpages/upload/web/controller/UploadFilesC
    [javac] ontroller.java
    [javac]  (at line 245)
    [javac]     final Map < Object, Object > model = new HashMap < Object,
Object > ();
    [javac]                                                       
^^^^^^^^^^^^^^
    [javac] Syntax error, parameterized types are only available if source
level is 5.0
    [javac] ----------
    [javac] ----------
    [javac] 13. WARNING in
/home/v884257/FinalAjaxFileUpload/src/be/telio/mediastore/ui/upload/UploadListener.java
    [javac]  (at line 68)
    [javac]     private long getDelta()
    [javac]                  ^^^^^^^^^^
    [javac] The method getDelta() from the type UploadListener is never used
locally
    [javac] ----------
    [javac] 13 problems (12 errors, 1 warning)

-- 
View this message in context: http://www.nabble.com/build-error-tf3683054.html#a10294172
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message