Java – cachedrowsetimpl cannot resolve to a type

I am using cachedrowset to save the resultset form dB

CachedRowSetImpl crs = new CachedRowSetImpl();

But eclipse reminds me that cachedrowsetimpl cannot be resolved to a type So I know I need to import some packages But I don't know which one to import? Who knows?

Solution

The cachedrowsetimpl class is wrapped in rt.jar So you don't need to add any jars for this class You can try to delete the JRE currently added to the eclipse buildpath and add it again

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>