Seems to be an issue with your web-application and not HBase. Reading
over 
http://stackoverflow.com/questions/1858463/java-error-only-a-type-can-be-imported-xyz-resolves-to-a-package
may help you.

On Mon, Jan 7, 2013 at 12:12 PM, gopi.l <hbigdata.g...@gmail.com> wrote:
> n error occurred at line: 6 in the generated java file
> Only a type can be imported. org.apache.hadoop.conf.Configuration resolves to 
> a
> package
>
> An error occurred at line: 7 in the generated java file
> Only a type can be imported. org.apache.hadoop.hbase.HBaseConfiguration 
> resolves
> to a package
>
> An error occurred at line: 5 in the jsp file: /MapReduceQuran.jsp
> Configuration cannot be resolved to a type
> 2:
> 3: <%
> 4:      String key=request.getParameter("inputKey");
> 5: Configuration conf= HBaseConfiguration.create();
> 6: out.println("config obj is"+conf);//here it showing the error only class is
> added not the package
> 7:      MapReduceQuran.searchKey(key);
> 8:
>
>
> An error occurred at line: 5 in the jsp file: /MapReduceQuran.jsp
> HBaseConfiguration cannot be resolved
> 2:
> 3: <%
> 4:      String key=request.getParameter("inputKey");
> 5: Configuration conf= HBaseConfiguration.create();
> 6: out.println("config obj is"+conf);//here it showing the error only class is
> added not the package
> 7:      MapReduceQuran.searchKey(key);
> 8:
>
>
>



-- 
Harsh J

Reply via email to