The type List is not generic; it cannot be parameterized with arguments < User & gt
Today, I wrote a list to report this inexplicable warning
[java]
view plain
copy
List< User> List = usermapper. Finduserbyname (“sheet”)
it is found that the packet is misdirected
[html]
view plain
copy
importjava.awt.List;
just change to util package
[html]
view plain
copy
importjava.util.List;
after working on Android for a long time, I suddenly became interested in this AWT package
There are many similarities between Android and Android
The description from JDK is as follows:
Contains all the classes used to create the user interface and draw graphical images
Description of software package java.awt
Contains all the classes used to create the user interface and draw graphical images. In AWT terminology, user interface objects such as buttons or scrollbars are called components. The component class is the root of all AWT components. For a detailed description of the common properties of all AWT components, see component
When users interact with components, some components fire events. The awtevent class and its subclasses are used to represent events that can be fired by AWT components. For a description of the AWT event model, see awtevent
A container is a component that can contain components and other containers. The container can also have a layout manager to control the visual layout of components in the container. The AWT package comes with several layout manager classes and an interface that can be used to build your own layout manager. For more information, see container and layoutmanager
Similar Posts:
- How to Solve the window flicker problem caused by AWT components
- What is Spring IoC ?
- [Solved] android.view.InflateException: Binary XML file line #0: Error inflating class ImageView
- [Solved] Android Warning: android.content.res.Resources$NotFoundException: Resource ID #0x7f08010a
- Fragment Loading Error: java.lang.IllegalArgumentException: No view found for id …
- Android Your content must have a ListView whose…
- docker: Error response from daemon: Conflict. The container name “/xx” is already in use
- Solution to the problem of consider defining a bean of type ‘xxx’ in your configuration in spring boot auto injection
- Flutter ListView Error: RenderBox was not laid out: RenderViewport#680c1 NEEDS-LAYOUT NEEDS-PAINT