Mapstruct issues

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 1 of constructor in com.mondenelani.onlineStore.Controllers.UserController required a bean of type 'com.mondenelani.onlineStore.mappers.UserMapper' that could not be found.


Action:

Consider defining a bean of type 'com.mondenelani.onlineStore.mappers.UserMapper' in your configuration.


Process finished with exit code 0

problem solved, i was missing the following

<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<annotationProcessorPaths>
						<path>
							<groupId>org.mapstruct</groupId>
							<artifactId>mapstruct-processor</artifactId>
							<version>1.6.3</version>
						</path>

					</annotationProcessorPaths>
				</configuration>
			</plugin>