score:0
for this it has a very solution. just add scalaxbignoreunknown in (compile, scalaxb) := true in your build tool sample code for build.sbt
```lazy val hellomodule = (project in file(".")).settings(
commonsettings,
publishsetting,
scalaxbignoreunknown in (compile, scalaxb) := true,
scalaxbdispatchversion in (compile, scalaxb) := vdispatch,
scalaxbpackagename in (compile, scalaxb) := "com.hello.hellomodule.client",
librarydependencies := seq(
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4",
"org.scala-lang.modules" %% "scala-swing" % "2.0.0-m2",
"net.databinder.dispatch" %% "dispatch-core" % vdispatch,
"com.typesafe" % "config" % "1.3.1",
"org.scala-lang.modules" %% "scala-xml" % "1.1.0"
),
name := "com.hello.hellomodule.client").enableplugins(scalaxbplugin)```
Source: stackoverflow.com
Related Query
- Scalaxb ignore unknown fields
- Json4s (Native/Jackson) Ignore all unknown fields
- Scala sort by unknown number of fields
- play json in scala: deserializing json with unknown fields without losing them
- Unknown fields in proto generated by scalapb
- How to ignore lines with missing fields in the database
- Number format exception writing parquet file using Spark caused by some fields having unknown value
- play json in scala: deserializing json ignoring unknown fields
- spray json in scala: deserializing json with unknown fields without losing them
- Json4s: keep unknown fields in a map when deserialising
- Google BigQuery Spark Connector: How to ignore unknown values on append
- Scala: Ignore case class field for equals/hascode?
- 22 fields limit in Scala 2.11 + Play Framework 2.3 Case classes and functions
- How do I ignore an exception?
- Scala Macros: Making a Map out of fields of a class in Scala
- Case Classes with optional fields in Scala
- Specs2: Ignore specification with a message?
- Scala case having 22 fields but having issue with play-json in scala 2.11.5
- Shapeless - turn a case class into another with fields in different order
- Is there a way to have tuples with named fields in Scala, similar to anonymous classes in C#?
- Iterate over fields in typesafe config
- Using Auto Incrementing fields with PostgreSQL and Slick
- Play! framework 2.0: Validate field in forms using other fields
- Ignore DTD specification in scala
- How to represent optional fields in spray-json?
- Scala: what is the real difference between fields in a class and parameters in the constructor
- Is there a way to ignore a non-matching case?
- Spark SQL filter multiple fields
- How does serialization of lazy fields work?
- Accessing scala object fields from java
More Query from same tag
- what does double parameterized function means in scala?
- Scala/Java interop: class type not converted?
- Keep the state or value of a DropDownChoice and TextField both inside a ListView
- Idiomatic way to write multi-project builds with .sbt files in sbt 0.13
- Performance of for-comprehension in scala
- AKKA remote (with SSL) can't find keystore/truststore files on classpath
- Scala-maven-plugin failed to execute
- What precisely is a scala evidence parameter
- Conditional get in Spring framework
- Add a marker character between duplicate pair in list
- Implementing methods having raw types in Scala
- Play Slick 3.0 errors when creating class definition class
- List of Option to list of String in scala
- Iteration in Cogrouped second tuple CompactBuffer
- Send the same message to list of Actors
- Slick Repo methods all participating in one Service's Transaction
- Why can't I assign Nothing to a variable of type Unit?
- How can I split a column containing array of some struct into separate columns?
- When using SBT, is there a generic way to hot-fix a Scala dependency?
- Scala vs. Groovy behavior when printing UTF-8 char in Windows terminal
- Use SubCut (Scala DI) on Android
- String Hive function for split key-value pair into two columns
- Scala for comprehension - tackling null
- Adding unit test to a legacy Scala project in IntelliJ
- json4s JValue scala classTag works wrong
- Tomcat returning HTTP 500 with one-byte responses
- In Scala, how do I get the text of a XML node without the text of its subnodes?
- Akka routers to send messages to workers
- How to inject the datasource into a data layer, slick debug output
- Why Guice cannot find my implementation in Play framework?