Hi Hariprasath,

Check whether you have imported all the required classes in the jsp file.
This could be a reason for this error message.

Thank you!


On Fri, Jun 19, 2015 at 12:13 PM, Vinod Kavinda <[email protected]> wrote:

> Hi,
>
> PWC6199: Generated servlet error:
> Only a type can be imported. org.wso2.carbon.student.mgt.data.xsd.Student
> resolves to a package
>
> According to this it is a package.
>
> On Fri, Jun 19, 2015 at 12:08 PM, Hariprasath Thanarajah <
> [email protected]> wrote:
>
>> Hi,
>>
>> It is a class. But in the .jsp file we need to import the class. Am I
>> correct ? Otherwise it shows some error.
>>
>> Thank you
>>
>> On Fri, Jun 19, 2015 at 12:03 PM, Vinod Kavinda <[email protected]> wrote:
>>
>>> Hi,
>>> Is Student is a class or a package?? you seem to be trying to import a
>>> package here.
>>>
>>> Regards,
>>> Vinod
>>>
>>
>>
>>
>> --
>>
>>
>> *Thank you**Hariprasath Thanarajah*
>> Associate Software Engineer | WSO2
>> E: [email protected]
>> M: +94752806528
>>
>>
>
>
> --
> Vinod Kavinda
> Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Pubudu Gunatilaka*
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 77 4078049
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to