Main Menu
SSL SecureMode
Lost Password?
Register now!
ChangeVision Members Map
Forum Index   -   Topic Index
   How to use of Astah (Pro/SysML/GSN/Com)
     Import Failed

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
Posted on: 2008/6/5 15:28
Just popping in
Joined: 2008/6/5
Posts: 1
Import Failed
When I try to import some java source code, I get the following error:

"Some Java files could not be imported. These files may contain compilation errors."

and the detailed message is as follows:

Failed to parse.A: Encountered "@" at line 35, column 29.
Was expecting one of:
"abstract" ...
"break" ...
"catch" ...
"do" ...
"extends" ...
"final" ...
"import" ...
"int" ...
"public" ...
")" ...


The line 35, column 29 of the file is the character "@"

import javax.jws.WebParam;
public String index(@WebParam Boolean index, ModelMap model)

How can I import this kind of source code? Please help.

I am using JUDE Community 5.2.1. Thanks.
Posted on: 2008/6/5 17:02
Joined: 2006/6/6
Posts: 969
Re: Import Failed
Thank you for your bug report, kennywu.

This is a bug in ver 5.2.1 and I am afraid that it is unable to import a class that has methods with annotated parameters.
This bug will be fixed in next release. (5.3Beta is now available and this bug is fixed in it already)

Though Beta version is available for testing and evaluation purposes only and we do not recommend you to modify or overwrite existing project files in beta as once you do, these files may not open in other versions.

Download & Update Information is available at our website!

Best regards,
Threaded | Newest First Previous Topic | Next Topic | Top