Skip to content

Commit 41fa792

Browse files
authored
fix: add default package to scan (#1009)
add the renderer package to also be scanned always as LitRenderer uses an annotation. Fixes #1008
1 parent 65b5b27 commit 41fa792

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vaadin-spring/src/main/java/com/vaadin/flow/spring/VaadinServletContextInitializer.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,10 @@ public class VaadinServletContextInitializer
133133
*/
134134
private static final List<String> DEFAULT_SCAN_ONLY = Stream
135135
.of(Component.class.getPackage().getName(),
136-
Theme.class.getPackage().getName(), "com.vaadin.shrinkwrap")
136+
Theme.class.getPackage().getName(),
137+
// LitRenderer uses script annotation
138+
"com.vaadin.flow.data.renderer",
139+
"com.vaadin.shrinkwrap")
137140
.collect(Collectors.toList());
138141

139142
/**

0 commit comments

Comments
 (0)