# Chapter 13 final project does not build

**URL:** <https://forums.kodeco.com/t/chapter-13-final-project-does-not-build/178010>\
**Category:** Advanced Android App Architecture\
**Created:** [September 8, 2022, 11:05pm UTC](https://forums.kodeco.com/t/chapter-13-final-project-does-not-build/178010 "2022-09-08T23:05:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacobjohbitbucket](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jacobjohbitbucket/32/102075_2.png) [@jacobjohbitbucket](https://forums.kodeco.com/u/jacobjohbitbucket)\
**Post date:** [September 8, 2022, 11:05pm UTC](https://forums.kodeco.com/t/chapter-13-final-project-does-not-build/178010/1 "2022-09-08T23:05:23Z")

</div>

I am not able to build the final project for Chapter 13 and cannot run the AddViewModelTest

````auto
> Task :app:kaptDebugKotlin FAILED
e: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
	at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3137)
	at java.base/java.lang.Class.getConstructor0(Class.java:3342)
	at java.base/java.lang.Class.newInstance(Class.java:556)```
````

---

<div class="post-metadata">

**Author:** ![jayantvarma](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jayantvarma/32/111768_2.png) [@jayantvarma](https://forums.kodeco.com/u/jayantvarma)\
**Post date:** [September 9, 2022, 7:30am UTC](https://forums.kodeco.com/t/chapter-13-final-project-does-not-build/178010/2 "2022-09-09T07:30:41Z")

</div>

@yuncheng13 could you please help with this question

---

<div class="post-metadata">

**Author:** ![jacobjohbitbucket](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jacobjohbitbucket/32/102075_2.png) [@jacobjohbitbucket](https://forums.kodeco.com/u/jacobjohbitbucket)\
**Post date:** [September 10, 2022, 9:06pm UTC](https://forums.kodeco.com/t/chapter-13-final-project-does-not-build/178010/3 "2022-09-10T21:06:39Z")

</div>

I’m also unable to follow the steps in the book with the starter project. The first unit test of the chapter cantSaveMovieWithoutTitle (which the books says will run successfully) doesn’t; it gives this error:

Task :app:testDebugUnitTest

Could not initialize plugin: interface org.mockito.plugins.MockMaker  
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker  
…  
Caused by: org.mockito.exceptions.base.MockitoInitializationException:  
Could not initialize inline Byte Buddy mock maker. (This mock maker is not supported on Android.)

Java : 11  
JVM vendor name : JetBrains s.r.o.  
JVM vendor version : 11.0.10+0-b96-7281165  
JVM name : OpenJDK 64-Bit Server VM  
JVM version : 11.0.10+0-b96-7281165  
JVM info : mixed mode  
OS name : Mac OS X  
OS version : 11.6.8

No luck finding a solution online.
